Japan spent a record ¥9.8 trillion ($62 billion) earlier this year to prop up the yen.