tsc


 class City:
    def __init__(self,city_id,state_name,city_name,no_of_tests,no_of_positive):
        self.city_id=city_id
        self.state_name=state_name
        self.city_name=city_name
        self.no_of_tests=no_of_tests
        self.no_of_positive=no_of_positive
class PandemicAnalysis:
    def __init__(self,analysis_name,city_list):
        self.analysis_name=analysis_name
        self.city_list=city_list
        
    def get_StateWithMaxPositiveCases(self):
        max_obj=max(self.city_list,key=lambda x:x.no_of_positive)
        return max_obj
    def get_citiesMoreThanPercentage(self,percentage):
        for obj in self.city_list:
            a=int((obj.no_of_positive *100)/obj.no_of_tests)
            if(a>=percentage):
              perce_list.append(obj.state_name)
              perce_list.append(obj.city_name)
        return obj
            
n = int(input())
cityList = []
perce_list=[]
for i in range(n):
    city_id = int(input())
    state_name = input()
    city_name = input()
    no_of_tests = int(input())
    no_of_positive = int(input())
    c = City(city_id,state_name,city_name,no_of_tests,no_of_positive)
    cityList.append(c)
percentage = int(input())
d= PandemicAnalysis("covidanalysis", cityList)
x = d.get_StateWithMaxPositiveCases()
y = d.get_citiesMoreThanPercentage(percentage)
if x != 0:
    print(x.state_name)
else:
    print("No Data Found")
if y != None:
    for i in range(0,int(len(perce_list)),2):
      print(perce_list[i], perce_list[i+1])
else:
    print("No City recorded with the given percentage")