← Home
Test 1 failed
Input:
 1
2
2 1
3 1
1 2

Expected:
 
Output:
 No