Task: Program Execution
Input (English): n 2963 P u y v x Z s F 3347 h U 3981 y D J x n d U 113 N 1801 3973 2155 161 443 7707 8301
Output (English): 14, 2963, 16, 21, 25, 22, 24, 26, 19, 6, 3347, 8, 21, 3981, 25, 4, 10, 24, 14, 4, 21, 113, 14, 1801, 3973, 2155, 161, 443, 7707, 8301