Mario invested a certain amount of money in selling a fish balls. After 3 weeks, he counted his money and found out that he had 900 which was 2255 of what he originally had. How much did he invest?