Task: Program Execution
Input (English): a, c, 8389, 5975, 7605, 5569, 5595, 2329, 3931, 7203, U
Output (English): 1, 3, 8389, 5975, 7605, 5569, 5595, 2329, 3931, 7203, 21