OneCompiler

tính tổng

114

n = int(input())
tong = 0
for i in range(1,n):
if i%9==0:
tong+=i
print(tong)