Solution To NFU Programming Contest