Task: Program Execution
Input (English): 9, 12, ['4433', 'J', '983', '8727', '8495', '5737', '6599', '4679', '3015', 'g', '421', 'M', '2763', '9523', '8713', '533', 'R', 'g']
Output (English): M, 421, g, 3015