Task: Program Execution
Input (English): 9993, 9793, 5689, N, 461, 4835, S, 1961, h, 359, 8563, 85
Output (English): 4, 7, 9