Task: Program Execution
Input (English): 2, 2, ['F', 'p', 'P', 'W', 'w', 'A']
Output (English): p