Task: Program Execution
Input (English): 9785, L, 5047, 1323, 9537, s, f, w, 79, G, a, I
Output (English): 5