This program is an algorithm that tells you how many pours and drains that you require.
Made by Gan Zhong Wen, for the Scratch Olympiad.