Question: Who was the pope who gave cardinals the right to wear the hats?
Sentence: Cardinals were granted the privilege of wearing the red hat by Pope Innocent IV in 1244.
Answer in sentence: yes