Task: Program Execution
Input (English): X, K, 4011, 5941, 4431, 3421, j, 9793, 5847, K, 6591, J, q, 6891
Output (English): 46926