There were 816 people at a concert when a band started playing. After each song, only half of the people stayed to hear the next song. How many people were left at the concert after x songs? Write a function to represent this scenario.
Total number of people = 816 after 1 song = 816/2 people remained after 2 songs = 816/4 people remained after 3 songs = 816/8 people remained after x songs = 816/x*2 people remained
People that remained = 816/2x where x is the number of songs