Task: Program Execution
Input (English): 1779, 3247, 4309, 4889, Q, h, k, 1217, k, 829, T, 3697, 3763, 4245
Output (English): 5, 6, 7, 9, 11