📅  最后修改于: 2022-03-11 14:46:12.291000             🧑  作者: Mango
super_set=set(map(int,input().split()))
count=True
n=int(input())
for i in range(n):
normal_set=set(map(int,input().split()))
if len(super_set)>len(normal_set):
if not super_set.issuperset(normal_set):
count=False
print(count)