https://knightzone.studio/2012/03/16/1486/uva%ef%bc%9a101%ef%bc%8dthe-blocks-problem/
#UVa:101-The Blocks Problem