* Made solution for 2014 codejam Qualify A,B,D