Write a haiku-w detector A haiku is a poem with three lines, with a 5/7/5 syllable count, respectively.

A haiku-w is poem with three lines, with a 5/7/5 word count, respectively.

Challenge

Write a program that will return true if the input is a haiku-w, and false if not.

A valid haiku-w input must consist of 3 lines, separated by a newline.


Line 1 must consist of 5 words, each word separated by a space.
Line 2 must consist of 7 words, each word separated by a space.
Line 3 must consist of 5 words, each word separated by a space.


Examples

The man in the suit
is the same man from the store.
He is a cool guy.


Result: True

Whitecaps on the bay:
A broken signboard banging
In the April wind.


Result: False



Rules


This is code-golf, so the shortest answer in bytes wins.
Standard code-golf loopholes apply. Cheating is prohibited.
Other boolean return values, such as 1 and 0, are acceptable.
A length-3 list of strings as an input is also acceptable.
Valid haiku-w inputs should not have leading or trailing spaces, or multiple spaces separating words.
JavaScript (ES6), 73 72 64 63 54 42 39 bytes

Thanks to Neil for saving 13 bytes

a=&gt;a.map(b=&gt;b.split` `.length)=='5,7,5'


Explanation

This is a fat-arrow function that takes an array of strings as argument. It replaces each line by its word count. If it is a haiku-w, a now contains an array of a five, a seven and a five again. Since JavaScript doesn't allow us to compare 2 arrays at the same time, the array is converted to a string first, and then compared. This results in a boolean that is returned.