Java Playground - Challenge - parse rational numbers: Online Interpreter, Compiler & Editor | Sololearn