Fixed RationalNumbers solution