Task: Program Execution
Input (English): 2549 f r g 5389 6589 v 5585 K H X B Z 1465 X K 4845 5649 h W g X D 9863 R r s 5203 r U 5195
Output (English): 1, 5, 6, 8, 14, 17, 18, 24, 28, 31