Java Playground - Josephus problem (solved): Online Interpreter, Compiler & Editor | Sololearn