Kaguya has been texting Shirogane a lot recently, but is unsure what his feelings for her are. Can you help analyze Kaguya's text messages to figure out what's going on?
Specifically, Kaguya is convinced that love is war, and that relationships are only built through strategically planned battles. However, in some of her recent texts, she is unsure if some of they have been friendly conversation, or a battle in disguise. For a text message to be a battle, it must contain some yelling — that is, a sequence of 3 or more consecutive 'a's, which can be capitalized in any way.
Help Kaguya identify these hidden battles so she can win the war!
The first line contains a single integer, $$$n$$$, corresponding to the number of text messages to analyze. Then, $$$n$$$ lines follow, with each line containing a text message.
Text messages are at most 100 characters long, but can contain spaces.
For each line of the input, output "Love is war!" if the line corresponds to an argument. Otherwise, output "Just friends <3"
5 How are you doing Kaguya? THIS MEANS WAAAAAARRRRRRRRRR oops sorry wrong person LlLmmAAaOoo that's soooo funnnyyy what is a aardvark
Just friends <3 Love is war! Just friends <3 Love is war! Just friends <3