Added contest solution