'''input 3 2 10 100 ''' import sys input = lambda: sys.stdin.readline().rstrip() ################## for _ in range(int(input())): n = int(input()) s = str(n) m = int(s + '0'*len(s)) print(m)