Simple Java console app