Calculate the k-th digit after the decimal point in the decimal representation of the number.
The input consists of a single integer k (1 \leq k \leq 10000).
Output the k-th digit.
Example 1