Babu gave 20% of his marbles to Sadeq, and 20% of the rest of marbles to Tipu. If he now has 320 marbles, how many did he have originally?