checks if number of digits is odd or even if odd then neglect the last digit of input in finding reverse as in case of odd number of digits middle element occur once
if ( isOdd ) : NEW_LINE INDENT n //= 10 NEW_LINE DEDENT