You will be given a definition of a task first, then some input of the task.
Given news headlines, an edited word and funniness labels. The original sentence has word with the given format {word}. Create new headlines by replacing {word} in the original sentence with edit word. Your task is to generate answer "Yes" if an edited sentence matches funniness label, otherwise generate answer "No".  

News Headline: UK 's Houses of Parliament network blocked 24,473 porn website access attempts in 5 {months}  
 Edit: minutes 
 Label: Funny
Output:
Yes