Challenge number 167 (intermediate) from http://www.reddit.com/r/dailyprogrammer/comments/28gq9b/6182014_challenge_167_intermediate_final_grades/ written with Spring MVC framework