Rational numbers can be written as either terminating or nonterminating decimals. What kind of nonterminating decimals are rational numbers?