[Ayaka-ga <gap> ringo-o mit-tsu mui-ta]-no-ni atena-o kai-ta .
Ayaka-NOM  apple-ACC three-CL peel-PAST-NO-DAT addressee-ACC write-PAST
(I) wrote the addressee’s name and address on the one that Ayaka peeled three apples in.