input and output princeton university