#coding utf-8 #https://yukicoder.me/problems/no/671 #No.671 1000000007 array = str(input()) temp = 10 for i in range(len(array)): count = int(i + 1) if count > temp: print(count - temp) elif count < temp: print(count - temp)