exercise inpu/output done