Task: Program Execution
Input (English): 4477, w, 3635, 2771, 8057, 4793, m, P
Output (English): w, m, P