Once the file is downloaded, move to the folder containing the file and type the following commands in the terminal:
javac accept_input.java
java application
Choose any of the following commands:
+salt
+blood
+apple
+banana
+frog
+ink
+sky
list
exit
After some of the above commands are typed, type some of the following commands:
red
yellow
white
black
green
blue
-salt
-blood
-appple
-banana
-frog
-ink
-sky