Ravi learned 7 subjects and memorized 4 subjects in a contest. How much did Ravi learn than memorize?