Task: Program Execution
Input (English): 7987, P, 5035, 7611, 4481, 7917, 4849
Output (English): P, 7987, 5035, 7611, 4481, 7917, 4849