The little boy in the red shirt put his head out of the window of the train .