Step 1, get input