Task: Program Execution
Input (English): Y, 6197, 5297, O, 1977, n, 7315, b, 1445, 4413, 8533, b, 5687, O
Output (English): 40864