Task: Program Execution
Input (English): 7427, p, 8723, 4087, 1631, 9117, 6505
Output (English): 37490