In the very first year, there are frogs in the marsh. Once a year, frogs move to a nearby pond, while the remaining frogs breed so that their number doubles. Thus, for year , you can calculate the number of frogs in the marsh based on the formula:
Write a function number_of_frogs that returns this number for a given year.
Just implement the function, you don't have to handle input or print anything.