Apple polisher: The custom of "apple polishing" hails from the little red schoolhouses of yore. Young children whose math skills were less than exemplary sought to win their teacher's favorite instead with a gift of a bright, shiny apple. Remember this ditty? "An apple for the teacher will always do the trick when you don't know your lesson in arithmetic."
Source