list = ['r' , 'g', 'o', 'b', 'r','b']
count = 0
for word in list:
    if (word == 'b'):
        count = count +1

if(count >=2):
    print('blue occured more than 2 time')
else:
    print('there are no matches in the list.')
            
      
