A jar was full of honey. A person used to draw out 20% of the honey from the jar and replaced it with sugar solution. He has repeated the same process 4 times and thus there was only 512 gm of honey left in the jar, the rest part of the jar was fitted with the sugar solution. The initial amount of honey in the jar was: