Added SPOJ's DAYOUT2D.