n = int(input())

check = n # 26
count = 0
result = 0
new_num = 0

while True:
    result = n//10 + n%10
    new_num = n%10*10 + result%10
    count += 1
    n = new_num
    if check == n:
        break
print(count)
    
    

while True:
    try:
        A, B = map(int, input().split())
        print(A+B)
    
    except:
        break
    

while True:
    A, B = map(int, input().split())
    if A == 0 and B == 0:
        break
    print(A+B)

N, X = map(int, input().split())

A = list(map(int, input().split()))
for i in range(N):
    if A[i] < X:
        print(A[i], end=' ')

+ Recent posts