Task: Program Execution
Input (English): 6969, 6523, 8593, 7319, 3569, 4375, M, N, 5275, 2845, h, 367, 2065, 2931, Q, 6489, F, 4787, 8967, 7423
Output (English): M, N, h, Q, F