def fun():
a,b,n = list(map(int, input().strip().split(' ')))
if a == 0 or b == 0: return 0
ji = a*b
gewei = ji%10
shiwei = ji//10
jinwei = 0
res = gewei
if gewei + shiwei >= 10:
for i in range(n-1):
res += ((gewei + shiwei) % 10 + jinwei)
jinwei = (gewei + shiwei) // 10
res += (shiwei + jinwei)
return res
return n*(gewei+shiwei) 第一题 91%