Task: Program Execution
Input (English): E, E, n, 8223, 8503, R, z, 5321
Output (English): 1, 2, 3, 6, 7