C2: Input the codes of chapter 2. Boxing