pet型にprintpet()