YOU SAID:
O told my teacher I like apples
INTO JAPANESE
O は先生に私はりんごが好きだと言いました
BACK INTO ENGLISH
O told the teacher that I like apples.
INTO JAPANESE
Oは先生に私はりんごが好きだと言いました。
BACK INTO ENGLISH
O told the teacher that I like apples.
That didn't even make that much sense in English.