SmallBASIC Translator

Input:
Output: