Nancy bought a mobile phone marked at 720$ at a discount of 20 percent and she had to pay 5 percent tax. If Nancy had to put 20 percent of what she had to pay including tax as a deposit, how much money did she have to pay for the deposit?