Task: Program Execution
Input (English): s K z q S q 1953 S Z 9415 t 5185 V 7379 3363 S G 4873 L c r 5751 W 5537 D 6951 U 3663
Output (English): 18