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.