def has_33(n):
  for i in  range(0,len(n)-1):
        if n[i]==3 and n[i+1]==3:
                print("true")
                
  print("false")
            
            
list1=[1,3,4,4]            
has_33(list1)            