AC 2761 with BIT to find kth number