added print function in 363_e_ticket