Correlation between subject preference and memory ability