Task: Program Execution
Input (English): N, h, m, f, 5309, F, D, 4707, T, 9695, U, 4313, N
Output (English): 5309, 4707, 9695, 4313