Where do you get the flute to move the Snorlax on Pokemon LeafGreen?

Basicly after to beat the Rockets in Pokemon Tower in Lavender town the old dude gives you it!