Task: Program Execution
Input (English): Y, 649, V, 2237, 3983, 4635, 9617, c, 9853, G
Output (English): 6