Program 1

http://www.reddit.com/r/dailyprogrammer/comments/pih8x/easy_challenge_1/