n = input() if len(n) == 1: n = '00' + n elif len(n) == 2: n = '0' + n print(n)