Java Playground - how many perfect numbers are there?: Online Interpreter, Compiler & Editor | Sololearn