public class Test13 {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int num, temp;
int[] arr = new int[10];
int i, len;
num = scan.nextInt();
temp = num;
i = 0;
while(temp > 0){
arr[i++] = temp % 10;
temp /= 10;
}
len = i;