#Z14124. 求小数的某一位数字

求小数的某一位数字

Description

When the fraction a/b{a}/{b} is converted to a decimal, what is the digit at the nn-th position after the decimal point?

Input Format

Three positive integers aa, bb, and nn, separated by single spaces between adjacent numbers. 0 < a < b < 100, 1 ≤ n ≤ 10000.

Output Format

A single digit.

1 2 1

5