Task: Program Execution
Input (English): 5, ['2969', '9463', 'P', '2153', '4021', '1967', 'r', '2095', '9431', '7215', '7797', 'j', 'T', 'R']
Output (English): 2969, 9463, P, 2153, 4021