Question 573734
You can repeat notes in a melody, so the number of ways is 7*7*7*7*7 = 7^5.