Check Strict Superset

  • + 0 comments
    read_A = set(map(int, input().split()))
    
    n = int(input())
    count = 0
    
    for x in range(n):
        read_B = set(map(int, input().split()))
        if len(read_B - read_A) == 0:
            count += 1
        
    print(count == n)