eolymp
bolt
Try our new interface for solving problems
Problems

Quite a problem

Quite a problem

It gets tiring, looking for all ways in which the word ‘problem’ can be used (and mis-used) in the news media. And yet, that’s been your job for several years: looking through news stories for that word. Wouldn’t it be better if you could automate the process? \InputFile Each line of input is one test case. Lines are at most \textbf{80} characters long. There are at most \textbf{1000} lines of input. Input ends at end of file. \OutputFile For each line of input, print yes if the line contains 'problem', and no otherwise. Any capitalization of 'problem' counts as an occurrence.
Time limit 1 second
Memory limit 256 MiB
Input example #1
Problematic pair programming
"There's a joke that pairs, like fish and house guests, go
rotten after three days," said Zach Brock, an engineering
manager.  Working out problems with a pairing partner can be
a lot like working out problems with a significant other.
During one recent rough patch, Jamie Kite, a developer, sat
her partner down for a talk. "Hey, it feels like we're
driving in different directions," she recalls saying. "It's
like any relationship," Ms.  Kite said. "If you don't talk
about the problems, it's not going to work." When those
timeouts don't solve the problem, partners can turn to
on-staff coaches who can help with counseling.  "People who
have been pairing a while, they'll start acting like old
married couples," said Marc Phillips, one of the coaches.
People can be as much of a challenge as writing software.
(Excerpted from "Computer Programmers Learn Tough Lesson in
Sharing"; Wall Street Journal, August 27, 2012)
Output example #1
yes
no
no
yes
yes
no
no
no
no
yes
yes
no
no
no
no
no
no
Source 2012 ACM-ICPC North American Qualification Contest