*Direct Cubing*

This method is simple and easy.

If the number is (ab) its cube can be calculated as

a** ^{3}** a

2a** ^{2}**b 2ab

Sum them up taking care of the carryovers.

Consider (16)^{3}

Writing it as above

1 6 36 216

__
12 72 __

1 18 108 216

Considering the carryovers

1 0 0 0 1 8 0 0 1 0 8 02 1 64 0 9 6

Therefore we get the answer as 4096