Input (grade 13): Rhode Island is bordered by Connecticut to the west and Massachusetts to the north and east, and it shares a water boundary with New York's Long Island to the southwest.
Output (grade 7): Rhode Island is bordered on the north and east by Massachusetts, on the west by Connecticut, and on the south by Rhode Island Sound and the Atlantic Ocean. It shares a water border with New York.