Input (grade 8): It moved northward and then westward, bringing squally weather to Hispaniola and Jamaica.
Output (grade 8): It moved northward and then eastward, bringing bad weather to Hispaniola and Jamaica.