Over the next several years , the Japanese government spent almost 47 trillion yen -- or about $ 470 billion at current exchange rates -- not only buying banks ' bad assets , but also recapitalizing them .