codes for atcoder beginner contest#1