# Code to find the elements from a nested list
# Code to find an element from a list based on the given condition