Task: Program Execution
Input (English): 1349, X, 3795, 1695, G, 8503, 8375, 865, 1027, 5325, 7439
Output (English): X, G