GCJ 2014 Round 1A Problem B