Solution for two more easy problems

http://www.spoj.com/problems/CANTON/
http://www.spoj.com/problems/CANDY/