timus; solve "Workdays" from Volume 3