1 of 2

Pyth, 9

ihMjQ2 3

How to eliminate the space and make the Q implicit?

Pyth online.