Task: Program Execution
Input (English): X, 1285, 5071, X
Output (English): 6356