Points: 3 (partial)
Time limit: 2.0s
Memory limit: 64M
Cupid is looking for pink lovebirds!
A color can be represented as a -tuple . He defines pink as a color with , , and values where , , .
Given a list of colors, can you determine how many are pink?
The first line will contain a single integer, .
The next lines will each contain 3 space separated integers, , , and .
A single integer, containing the number of colors that are pink.
5 0 0 0 240 200 220 243 12 120 12 3 10 241 100 221
Explanation For Sample
The colors and are pink.