Task: Program Execution
Input (English): 1, 6, ['5391', 'k', '1115', 'x', 'P', 'd', 'A', 'a', '9227', 'a', 'J', '1769', '5421']
Output (English): 5391, A, 5421