finished P272
cleared input