Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 6652 Accepted: 4265

###### Description

When a number is expressed in decimal, the kth digit represents a multiple of 10k. (Digits are numbered from right to left, where the least significant digit is number 0.) For example,