Input and Partitioned programs