Definition: The task is to generate the correct answer for a given math problem.
Input: Problem: 10 % people of a village in sri lanka died by bombardment , 20 % of the remainder left the village on account of fear . if now the population is reduced to 3312 , how much was it in the beginning ?
