Task: Program Execution
Input (English): U 2503 P 511 L 9839 W S s 8357 4783 h n 7445 3851 3631 2799 M x 4039 337 5569 5673 W 6499 7245 L u w 489 l k V 9111 5349 2929 U 1705 5535 V
Output (English): 19