Flag flap ends with students hugging