Estimate the number of years required for a town's population to reach a particular target, considering yearly population growth and migration.
Determine the number of years required for a certain town's population to reach or surpass the `target`. The population at the start of the year is specified as `population`. The population grows by `percent` annually, and each year, `aug` new residents move to the town. ### Parameters - `population` (int): The initial population of the town. - `percent` (float): The yearly population growth rate represented as a percentage. - `aug` (int): The number of new residents that move to the town each year. - `target` (int): The desired population target for the town. ### Return Value - Returns an integer indicating the number of years needed for the town's population to reach or exceed the target. ### Examples: ```python # The population would grow from 1500 to 5000 in 15 years solution(1500, 5, 100, 5000) # Returns: 15 # The population would grow from 1500000 to 2000000 over 10 years solution(1500000, 2.5, 10000, 2000000) # Returns: 10 # The population would grow from 1500000 to 2000000 over 94 years solution(1500000, 0.25, 1000, 2000000) # Returns: 94 ```