figure out how to print rationals