Save Patients
A new deadly virus has infected large population of a planet. A brilliant se s
discovered a new strain of virus which can cure this disease. Vaccine produced from the
virus has various strength depending on midichlorians count. A person is cured by
midichlorians count in vaccine batch is more than midichlorians count of person. A deci
receives a new set of report which contains midichlorians count of each inleded patient,
Practo stores all vaccine doctor has and their midichlorians count. You need to determine
doctor can save all patients with the vaccinese has. The number of vaccines and patients
are equal.
Input Format
First line contains the number of Test cases -T.
Second line contains the number of vaccines - N.
Third line contains N integers, which are strength of vaccines.
Next line contains N integers, which are midichlorians count of patients.
Output Format
Print a single line containing 'Yes' or 'No'.
Input Constraint
1<N< 1015
Ctrannth nfunerinnrand midirhlorinnr runt of nationte fit in intaner
Answers
Answered by
1
Answer:
name-coroana
Explanation:
nickname-covid19
age-19
Answered by
0
Answer:
Yes
Explanation:
Similar questions
Biology,
5 months ago
Computer Science,
5 months ago
Physics,
5 months ago
English,
10 months ago
Computer Science,
1 year ago
Computer Science,
1 year ago