Added solution for InvestingAtTheMarket