Press 1 for Case 1 and 2 for Case 2. Space to get the medium.
This is Leetcode question 4 but in Scratch.