Task: Program Execution
Input (English): 2, 4, ['2271', 'p', 'k', 'n', '6477']
Output (English): n, k, p