Solved the tutorial problems DAYOUT2F, DAYOUT2G and DAYOUT2H of spoj