Task: Program Execution
Input (English): A, 4235, 3595, 45, K, 8981, 5349
Output (English): 22205