Input Format
The first line contains the space separated elements of set .
The second line contains integer , the number of other sets.
The next  lines contains the space separated elements of the other sets.
Output Format
Print True if set  is a strict superset of all other  sets. Otherwise, print False.
hackerrank check strict superset problem solution in python

Problem solution in python 2 programming language.

A = set(raw_input().split());
print all(map(lambda x: (A > x), [set(raw_input().split()) for i in range(int(raw_input()))]))

Problem solution in python 3 programming language.

a = set(input().split())
print(all(a > set(input().split()) for _ in range(int(input()))))