Task: Program Execution
Input (English): x, 5565, 7493, 8309, 6781, 4929, x, k, 4579, T, n, T, 8397, 647, 4475
Output (English): 51175