A corporation retired $670,000 face value of bonds, which have an unamortized discount of $27,000, by repurchasing them for $670,000. How much was the gain or loss on the retirement of the bonds