Java Program Using Nested If Else Flowchart In Python