Input (grade 12): North Carolina borders South Carolina on the south, Georgia on the southwest, Tennessee on the west, Virginia on the north, and the Atlantic Ocean on the east.
Output (grade 12): North Carolina is connected to South Carolina on the south, Georgia on the southwest, Tennessee on the west, Virginia on the north, and the Atlantic Ocean on the east.