Use scanner and use some next() method. Same as taking 1 input.
Whether it be next(), nextLine(), nextInt(), etc..
CodePlayground is a bit different because it asks for all input right when the program is run. To make multiple inputs for this, separate each input on a new line.
Expected output: 3 / 2.
In other compilers you won't need to do this, as you can just type it in when asked.