Added problem 1807 COJ. 07th June 2014