Java Input Array Program In Python Simple