Problem B. New Years Eve
add new solutions