Task: Program Execution
Input (English): 7, 10, ['y', 'j', '6785', 'A', '955', '2883', '5227', 'w', 'J', 'F', 'a', 'T', '7463', '5489', 's', '3165']
Output (English): F, J, w, 5227