Task: Program Execution
Input (English): J 8387 6535 9503 3803 2789 7063 8863 1377 x A 5597 Z h u o 2163 B w 1877 3257 f 6799 m 4373 U K 2019
Output (English): 15