timus; solve "Hotel" from Volume 4