Joe had some money. He spent $200 on clothes, 2/5 of his remaining money on a pair of boots and saved the rest. He saved $126. How much money did Joe have at first?​