Input Preparation and Output Processing
