Task: Program Execution
Input (English): 4, 5, ['V', 'k', 'a', 'p', 'p']
Output (English): p, p