Check Strict Superset

  • + 0 comments
    A = set(input().split())
    print(all( A>= set(input().split())for _ in range(int(input()))))