Problem CD: 求小数的某一位

Problem CD: 求小数的某一位

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

SubmitProblemList

Description

分数a/b化为小数后,小数点后第n位的数字是多少?

Input

三个正整数a,b,n。0<a<b<100,1≤n≤10000。

Output

一个数字。

Sample Input Copy

1 
2 
1

Sample Output Copy

5