Sample input/output program