I have some list: List I need to take 3 elements from it that satisfy the condition:
list: List
I do it like this:
list.filter { g ->