gcj 2014 Round 2 Problem A
usaco 2.2 preface