Task: Program Execution
Input (English): w, 6675, 5857, N, N, z, h, 6141, O, 5417, S, 3035, 7503, 9341, 6373
Output (English): 2, 3, 8, 10, 12, 13, 14, 15