Task: Program Execution
Input (English): S, x, Y, 8695, 4891
Output (English): 19, 24, 25, 8695, 4891