Task: Program Execution
Input (English): X, 1259, 4923, 9977, D, 9025, 6521, 6543, c, Q, 9331
Output (English): 47579