Task: Program Execution
Input (English): J, y, T, g, 9841, 9461, 4071, 3025, 3395, 6857, W, 4247, O, G, g, 971, 6957, v, 7383, 5837, J, 5333
Output (English): 10