Calculator with I/O private