Task: Program Execution
Input (English): 4923 Y 5959 R N 2901 1889 9143 9363 Y 2683 2405 w 4899 4331 775 5951 V R G t 5103 3077 4625 b 6155 N D d 1549 3197 h w H 2005
Output (English): 2, 4, 5, 10, 13, 18, 19, 20, 21, 25, 27, 28, 29, 32, 33, 34