Task: Program Execution
Input (English): 5743, 283, 847, 9017, 6417, g, 9411, 775, 6195, A, P, k, 901, M, 5359, 8865, 3667, 6069
Output (English): 6, 10, 11, 12, 14