Task: Program Execution
Input (English): G, K, 4543, 9405, 4747, 7821, 5707, R, 9391, z, C, 8235
Output (English): 49849