n = int(input()) + 1 n_str = str(n)[1:] print(n_str) flg = True for i in n_str: if i != '0': flg = False break if (flg == True) and (len(n_str) != 0): print('Yes') else: print('No')