Task: Program Execution
Input (English): 6219, 6699, 3383, 3161, 2379, 7107, 1377, x
Output (English): 30325