Python Program Using Input And Output Examples Isotonic Solution