Archive: logic

Find the length of the loop