Input (grade 9): James' emblem was the scallop shell (or "cockle shell"), and pilgrims to his shrine often wore that symbol on their hats or clothes.
Output (grade 9): Jamess emblem was the scallop shell (or "cockle shell"), and pilgrims to his shrine often wore that symbol on their hats or clothes.