message
stringlengths
2
20.1k
message_type
stringclasses
2 values
message_id
int64
0
1
conversation_id
int64
1.95k
109k
cluster
float64
17
17
__index_level_0__
int64
3.91k
217k
Provide tags and a correct Python 3 solution for this coding contest problem. There are n students who have taken part in an olympiad. Now it's time to award the students. Some of them will receive diplomas, some wiil get certificates, and others won't receive anything. Students with diplomas and certificates are cal...
instruction
0
80,514
17
161,028
Tags: implementation, math Correct Solution: ``` import math import itertools import collections def getdict(n): d = {} if type(n) is list: for i in n: if i in d: d[i] += 1 else: d[i] = 1 else: for i in range(n): t = ii() ...
output
1
80,514
17
161,029
Provide tags and a correct Python 3 solution for this coding contest problem. There are n students who have taken part in an olympiad. Now it's time to award the students. Some of them will receive diplomas, some wiil get certificates, and others won't receive anything. Students with diplomas and certificates are cal...
instruction
0
80,515
17
161,030
Tags: implementation, math Correct Solution: ``` n,k = map(int,input().strip().split(' ')) w = int(n/2); x = int(w/(k+1)) print(str(x)+' '+str(int(x*k))+' '+str(int(n - x - x*k))) ```
output
1
80,515
17
161,031
Provide tags and a correct Python 3 solution for this coding contest problem. There are n students who have taken part in an olympiad. Now it's time to award the students. Some of them will receive diplomas, some wiil get certificates, and others won't receive anything. Students with diplomas and certificates are cal...
instruction
0
80,516
17
161,032
Tags: implementation, math Correct Solution: ``` n,k=list(map(int,input().split())) d=n//2//(k+1) print(d,d*k,n-d*(k+1)) ```
output
1
80,516
17
161,033
Provide tags and a correct Python 3 solution for this coding contest problem. There are n students who have taken part in an olympiad. Now it's time to award the students. Some of them will receive diplomas, some wiil get certificates, and others won't receive anything. Students with diplomas and certificates are cal...
instruction
0
80,517
17
161,034
Tags: implementation, math Correct Solution: ``` import math z , k = map(int , input().split()) tmp = z z //= 2 x = int(z / (k + 1)) y = int(x * k) print(x , y , tmp - x - y) ```
output
1
80,517
17
161,035
Evaluate the correctness of the submitted Python 3 solution to the coding contest problem. Provide a "Yes" or "No" response. There are n students who have taken part in an olympiad. Now it's time to award the students. Some of them will receive diplomas, some wiil get certificates, and others won't receive anything. ...
instruction
0
80,518
17
161,036
Yes
output
1
80,518
17
161,037
Evaluate the correctness of the submitted Python 3 solution to the coding contest problem. Provide a "Yes" or "No" response. There are n students who have taken part in an olympiad. Now it's time to award the students. Some of them will receive diplomas, some wiil get certificates, and others won't receive anything. ...
instruction
0
80,519
17
161,038
Yes
output
1
80,519
17
161,039
Evaluate the correctness of the submitted Python 3 solution to the coding contest problem. Provide a "Yes" or "No" response. There are n students who have taken part in an olympiad. Now it's time to award the students. Some of them will receive diplomas, some wiil get certificates, and others won't receive anything. ...
instruction
0
80,520
17
161,040
Yes
output
1
80,520
17
161,041
Evaluate the correctness of the submitted Python 3 solution to the coding contest problem. Provide a "Yes" or "No" response. There are n students who have taken part in an olympiad. Now it's time to award the students. Some of them will receive diplomas, some wiil get certificates, and others won't receive anything. ...
instruction
0
80,521
17
161,042
Yes
output
1
80,521
17
161,043
Evaluate the correctness of the submitted Python 3 solution to the coding contest problem. Provide a "Yes" or "No" response. There are n students who have taken part in an olympiad. Now it's time to award the students. Some of them will receive diplomas, some wiil get certificates, and others won't receive anything. ...
instruction
0
80,522
17
161,044
No
output
1
80,522
17
161,045
Evaluate the correctness of the submitted Python 3 solution to the coding contest problem. Provide a "Yes" or "No" response. There are n students who have taken part in an olympiad. Now it's time to award the students. Some of them will receive diplomas, some wiil get certificates, and others won't receive anything. ...
instruction
0
80,523
17
161,046
No
output
1
80,523
17
161,047
Evaluate the correctness of the submitted Python 3 solution to the coding contest problem. Provide a "Yes" or "No" response. There are n students who have taken part in an olympiad. Now it's time to award the students. Some of them will receive diplomas, some wiil get certificates, and others won't receive anything. ...
instruction
0
80,524
17
161,048
No
output
1
80,524
17
161,049
Evaluate the correctness of the submitted Python 3 solution to the coding contest problem. Provide a "Yes" or "No" response. There are n students who have taken part in an olympiad. Now it's time to award the students. Some of them will receive diplomas, some wiil get certificates, and others won't receive anything. ...
instruction
0
80,525
17
161,050
No
output
1
80,525
17
161,051
Provide tags and a correct Python 3 solution for this coding contest problem. There are n students in a school class, the rating of the i-th student on Codehorses is a_i. You have to form a team consisting of k students (1 ≤ k ≤ n) such that the ratings of all team members are distinct. If it is impossible to form a ...
instruction
0
80,586
17
161,172
Tags: brute force, implementation Correct Solution: ``` a,b=map(int,input().split()) p=set() q=set() list1=list(map(int,input().split())) for i in range(a): if len(q)==b: continue siz=len(p) p.add(list1[i]) if siz==len(p): continue q.add(i+1) if len(p)<b: print("NO") else: pr...
output
1
80,586
17
161,173
Provide tags and a correct Python 3 solution for this coding contest problem. There are n students in a school class, the rating of the i-th student on Codehorses is a_i. You have to form a team consisting of k students (1 ≤ k ≤ n) such that the ratings of all team members are distinct. If it is impossible to form a ...
instruction
0
80,587
17
161,174
Tags: brute force, implementation Correct Solution: ``` n,k=map(int,input().split()) a=list(map(int,input().split())) b=list(set(a)) if len(b)>=k: print('YES') print(a.index(b[0])+1,end='') for i in range(1,k):print(' '+str(a.index(b[i])+1),end='') else:print('NO') ```
output
1
80,587
17
161,175
Provide tags and a correct Python 3 solution for this coding contest problem. There are n students in a school class, the rating of the i-th student on Codehorses is a_i. You have to form a team consisting of k students (1 ≤ k ≤ n) such that the ratings of all team members are distinct. If it is impossible to form a ...
instruction
0
80,588
17
161,176
Tags: brute force, implementation Correct Solution: ``` R = lambda: map(int, input().split()) n,k = R() L = list(R()) if len(set(L)) < k: print("NO") else: print("YES") a = list(set(L)) res = [] for i in a: if k > 0: res.append(L.index(i)+1) k -= 1 print(*sorted(r...
output
1
80,588
17
161,177
Provide tags and a correct Python 3 solution for this coding contest problem. There are n students in a school class, the rating of the i-th student on Codehorses is a_i. You have to form a team consisting of k students (1 ≤ k ≤ n) such that the ratings of all team members are distinct. If it is impossible to form a ...
instruction
0
80,589
17
161,178
Tags: brute force, implementation Correct Solution: ``` # 988A - Diverse Team # https://codeforces.com/contest/988/problem/A line1 = list(map(int, input().strip().split())) line2 = list(map(int, input().strip().split())) n = line1[0] k = line1[1] distinct = [] distinct_position = [] for i,rating in enumerate(line2)...
output
1
80,589
17
161,179
Provide tags and a correct Python 3 solution for this coding contest problem. There are n students in a school class, the rating of the i-th student on Codehorses is a_i. You have to form a team consisting of k students (1 ≤ k ≤ n) such that the ratings of all team members are distinct. If it is impossible to form a ...
instruction
0
80,590
17
161,180
Tags: brute force, implementation Correct Solution: ``` from collections import * n,k=map(int,input().split()) a=list(map(int,input().split())) f=Counter(a) if(len(f)<k): print("NO") else: print("YES") c=0 for i in f.keys(): c+=1 print(a.index(i)+1,end=" ") if(c==k): ...
output
1
80,590
17
161,181
Provide tags and a correct Python 3 solution for this coding contest problem. There are n students in a school class, the rating of the i-th student on Codehorses is a_i. You have to form a team consisting of k students (1 ≤ k ≤ n) such that the ratings of all team members are distinct. If it is impossible to form a ...
instruction
0
80,591
17
161,182
Tags: brute force, implementation Correct Solution: ``` n,k=map(int,input().split()) S=[int(x) for x in input().split()] A=set(S) if len(A) >= k: print("YES") Ans=[] for a in A: Ans.append(S.index(a)+1) Ans=Ans[:k] print(*Ans) else: print("NO") ```
output
1
80,591
17
161,183
Provide tags and a correct Python 3 solution for this coding contest problem. There are n students in a school class, the rating of the i-th student on Codehorses is a_i. You have to form a team consisting of k students (1 ≤ k ≤ n) such that the ratings of all team members are distinct. If it is impossible to form a ...
instruction
0
80,592
17
161,184
Tags: brute force, implementation Correct Solution: ``` m,n = input().split() m,n = int(m),int(n) lst = input().split() n_lst = [] n_lst.append(lst[0]) n_lst1 = [1] for i in range(1,len(lst)): if lst[i] not in n_lst: n_lst.append(lst[i]) n_lst1.append(i+1) if len(n_lst1)>=n: print('YES') for...
output
1
80,592
17
161,185
Provide tags and a correct Python 3 solution for this coding contest problem. There are n students in a school class, the rating of the i-th student on Codehorses is a_i. You have to form a team consisting of k students (1 ≤ k ≤ n) such that the ratings of all team members are distinct. If it is impossible to form a ...
instruction
0
80,593
17
161,186
Tags: brute force, implementation Correct Solution: ``` def check(i,a,c): for x in range(i+1,len(c)): if c[x]==a: c[x]=-1 if __name__=="__main__": n,k=input().strip().split(' ') n,k=[int(n),int(k)] a=list(map(int,input().strip().split(' '))) count=0 for x in range(0,len(a)):...
output
1
80,593
17
161,187
Evaluate the correctness of the submitted Python 3 solution to the coding contest problem. Provide a "Yes" or "No" response. There are n students in a school class, the rating of the i-th student on Codehorses is a_i. You have to form a team consisting of k students (1 ≤ k ≤ n) such that the ratings of all team member...
instruction
0
80,594
17
161,188
Yes
output
1
80,594
17
161,189
Evaluate the correctness of the submitted Python 3 solution to the coding contest problem. Provide a "Yes" or "No" response. There are n students in a school class, the rating of the i-th student on Codehorses is a_i. You have to form a team consisting of k students (1 ≤ k ≤ n) such that the ratings of all team member...
instruction
0
80,595
17
161,190
Yes
output
1
80,595
17
161,191
Evaluate the correctness of the submitted Python 3 solution to the coding contest problem. Provide a "Yes" or "No" response. There are n students in a school class, the rating of the i-th student on Codehorses is a_i. You have to form a team consisting of k students (1 ≤ k ≤ n) such that the ratings of all team member...
instruction
0
80,596
17
161,192
Yes
output
1
80,596
17
161,193
Evaluate the correctness of the submitted Python 3 solution to the coding contest problem. Provide a "Yes" or "No" response. There are n students in a school class, the rating of the i-th student on Codehorses is a_i. You have to form a team consisting of k students (1 ≤ k ≤ n) such that the ratings of all team member...
instruction
0
80,597
17
161,194
Yes
output
1
80,597
17
161,195
Evaluate the correctness of the submitted Python 3 solution to the coding contest problem. Provide a "Yes" or "No" response. There are n students in a school class, the rating of the i-th student on Codehorses is a_i. You have to form a team consisting of k students (1 ≤ k ≤ n) such that the ratings of all team member...
instruction
0
80,598
17
161,196
No
output
1
80,598
17
161,197
Evaluate the correctness of the submitted Python 3 solution to the coding contest problem. Provide a "Yes" or "No" response. There are n students in a school class, the rating of the i-th student on Codehorses is a_i. You have to form a team consisting of k students (1 ≤ k ≤ n) such that the ratings of all team member...
instruction
0
80,599
17
161,198
No
output
1
80,599
17
161,199
Evaluate the correctness of the submitted Python 3 solution to the coding contest problem. Provide a "Yes" or "No" response. There are n students in a school class, the rating of the i-th student on Codehorses is a_i. You have to form a team consisting of k students (1 ≤ k ≤ n) such that the ratings of all team member...
instruction
0
80,600
17
161,200
No
output
1
80,600
17
161,201
Evaluate the correctness of the submitted Python 3 solution to the coding contest problem. Provide a "Yes" or "No" response. There are n students in a school class, the rating of the i-th student on Codehorses is a_i. You have to form a team consisting of k students (1 ≤ k ≤ n) such that the ratings of all team member...
instruction
0
80,601
17
161,202
No
output
1
80,601
17
161,203
Provide a correct Python 3 solution for this coding contest problem. Description THE BY DOLM @ STER is a training simulation game scheduled to be released on EXIDNA by 1rem on April 1, 2010. For the time being, it probably has nothing to do with an arcade game where the network connection service stopped earlier this...
instruction
0
80,769
17
161,538
"Correct Solution: ``` while True: try: n, m = map(int, input().split()) except EOFError: break costs = [] vocals = [] dances = [] looks = [] for _ in range(n): input() c, v, d, l = map(int, input().split()) costs.append(c) vocals.append(v) dances.append(d) looks.append(l) ...
output
1
80,769
17
161,539
Provide tags and a correct Python 3 solution for this coding contest problem. Perhaps many have heard that the World Biathlon Championship has finished. Although our hero Valera was not present at this spectacular event himself and only watched it on TV, it excited him so much that he decided to enroll in a biathlon s...
instruction
0
81,376
17
162,752
Tags: binary search, implementation Correct Solution: ``` import sys import math MAXNUM = math.inf MINNUM = -1 * math.inf ASCIILOWER = 97 ASCIIUPPER = 65 def getInt(): return int(sys.stdin.readline().rstrip()) def getInts(): return map(int, sys.stdin.readline().rstrip().split(" ")) def getString(): r...
output
1
81,376
17
162,753
Provide tags and a correct Python 3 solution for this coding contest problem. Perhaps many have heard that the World Biathlon Championship has finished. Although our hero Valera was not present at this spectacular event himself and only watched it on TV, it excited him so much that he decided to enroll in a biathlon s...
instruction
0
81,377
17
162,754
Tags: binary search, implementation Correct Solution: ``` def main(): from array import array from bisect import bisect from sys import stdin input = stdin.readline O = -1 n = int(input()) xr = [] for i in range(n): xi, ri = map(int, input().split()) xr.append((xi, ri ** ...
output
1
81,377
17
162,755
Provide tags and a correct Python 3 solution for this coding contest problem. Perhaps many have heard that the World Biathlon Championship has finished. Although our hero Valera was not present at this spectacular event himself and only watched it on TV, it excited him so much that he decided to enroll in a biathlon s...
instruction
0
81,378
17
162,756
Tags: binary search, implementation Correct Solution: ``` from sys import stdin def read(line): return [int(c) for c in line.split()] test = stdin.readlines() n = int(test[0]) targets = [] for i in range(1, n+1): targets.append(read(test[i])) m = int(test[n + 1]) shots = [] for i in range(n + 2, n + 2 + m):...
output
1
81,378
17
162,757
Provide tags and a correct Python 3 solution for this coding contest problem. Perhaps many have heard that the World Biathlon Championship has finished. Although our hero Valera was not present at this spectacular event himself and only watched it on TV, it excited him so much that he decided to enroll in a biathlon s...
instruction
0
81,379
17
162,758
Tags: binary search, implementation Correct Solution: ``` input=__import__('sys').stdin.readline import math n = int(input()) lis=[] for i in range(n): a,b = map(int,input().split()) lis.append([a,b,i]) lis.sort() m = int(input()) ans=[-1]*(n) c=0 for i in range(m): a,b = map(int,input().split()) l=0 ...
output
1
81,379
17
162,759
Provide tags and a correct Python 3 solution for this coding contest problem. Perhaps many have heard that the World Biathlon Championship has finished. Although our hero Valera was not present at this spectacular event himself and only watched it on TV, it excited him so much that he decided to enroll in a biathlon s...
instruction
0
81,380
17
162,760
Tags: binary search, implementation Correct Solution: ``` from sys import stdin, stdout n = int(stdin.readline()) challengers = [] for i in range(n): a, b = map(int, stdin.readline().split()) challengers.append((a, b, i)) challengers.sort() ans = [float('inf') for i in range(n)] m = int(stdin.readline()) qu...
output
1
81,380
17
162,761
Provide tags and a correct Python 3 solution for this coding contest problem. Perhaps many have heard that the World Biathlon Championship has finished. Although our hero Valera was not present at this spectacular event himself and only watched it on TV, it excited him so much that he decided to enroll in a biathlon s...
instruction
0
81,381
17
162,762
Tags: binary search, implementation Correct Solution: ``` '''input 3 3 2 7 1 11 2 4 2 1 6 0 6 4 11 2 ''' from sys import stdin from bisect import bisect_left from collections import OrderedDict def check(c, r, x, y): if x**2 + y**2 - 2*x*c + c**2 <= r**2: return True else: return False # main starts n = int(s...
output
1
81,381
17
162,763
Provide tags and a correct Python 3 solution for this coding contest problem. Perhaps many have heard that the World Biathlon Championship has finished. Although our hero Valera was not present at this spectacular event himself and only watched it on TV, it excited him so much that he decided to enroll in a biathlon s...
instruction
0
81,382
17
162,764
Tags: binary search, implementation Correct Solution: ``` #------------------------template--------------------------# import os import sys from math import * from collections import * from fractions import * from bisect import * from heapq import* from io import BytesIO, IOBase def vsInput(): sys.stdin = open('inp...
output
1
81,382
17
162,765
Provide tags and a correct Python 3 solution for this coding contest problem. Perhaps many have heard that the World Biathlon Championship has finished. Although our hero Valera was not present at this spectacular event himself and only watched it on TV, it excited him so much that he decided to enroll in a biathlon s...
instruction
0
81,383
17
162,766
Tags: binary search, implementation Correct Solution: ``` import sys from array import array # noqa: F401 from math import hypot def input(): return sys.stdin.buffer.readline().decode('utf-8') n = int(input()) circle = sorted((x - r, x, r, i) for i, (x, r) in enumerate((map(int, input().split()) for _ in range...
output
1
81,383
17
162,767
Evaluate the correctness of the submitted Python 3 solution to the coding contest problem. Provide a "Yes" or "No" response. Perhaps many have heard that the World Biathlon Championship has finished. Although our hero Valera was not present at this spectacular event himself and only watched it on TV, it excited him so...
instruction
0
81,384
17
162,768
No
output
1
81,384
17
162,769
Evaluate the correctness of the submitted Python 3 solution to the coding contest problem. Provide a "Yes" or "No" response. Perhaps many have heard that the World Biathlon Championship has finished. Although our hero Valera was not present at this spectacular event himself and only watched it on TV, it excited him so...
instruction
0
81,385
17
162,770
No
output
1
81,385
17
162,771
Evaluate the correctness of the submitted Python 3 solution to the coding contest problem. Provide a "Yes" or "No" response. Perhaps many have heard that the World Biathlon Championship has finished. Although our hero Valera was not present at this spectacular event himself and only watched it on TV, it excited him so...
instruction
0
81,386
17
162,772
No
output
1
81,386
17
162,773
Evaluate the correctness of the submitted Python 3 solution to the coding contest problem. Provide a "Yes" or "No" response. Perhaps many have heard that the World Biathlon Championship has finished. Although our hero Valera was not present at this spectacular event himself and only watched it on TV, it excited him so...
instruction
0
81,387
17
162,774
No
output
1
81,387
17
162,775
Provide a correct Python 3 solution for this coding contest problem. Japan achieved the second straight victory in the national baseball competition WBC !! A baseball tournament was held at Aizu Gakuen High School as baseball became more popular. In this tournament, a round-robin league match will be held and the rank...
instruction
0
81,618
17
163,236
"Correct Solution: ``` WIN = "0" LOSE = "1" while True: input_count = int(input()) if input_count == 0: break input_list = [input().split(" ") for _ in range(input_count)] count_list = [(item[0], item.count(WIN), item.count(LOSE)) for item in input_list] count_list.sort(key=lambda item:...
output
1
81,618
17
163,237
Provide a correct Python 3 solution for this coding contest problem. Japan achieved the second straight victory in the national baseball competition WBC !! A baseball tournament was held at Aizu Gakuen High School as baseball became more popular. In this tournament, a round-robin league match will be held and the rank...
instruction
0
81,619
17
163,238
"Correct Solution: ``` if __name__ == '__main__': while True: try: n = int(input()) if n == 0: break A = [] for _ in range(n): cmd = input().split() A.append((cmd.count("0"),cmd.count("1"),cmd.count("2"),cmd[0])) B = sorted(A,key=lambda x:(-x[0],x[1],x[2])) for y in B: print(y...
output
1
81,619
17
163,239
Provide a correct Python 3 solution for this coding contest problem. Japan achieved the second straight victory in the national baseball competition WBC !! A baseball tournament was held at Aizu Gakuen High School as baseball became more popular. In this tournament, a round-robin league match will be held and the rank...
instruction
0
81,620
17
163,240
"Correct Solution: ``` while True: L = [] n = int(input()) if n == 0: break for i in range(n): r = list(input().split()) t = r.pop(0) w = l = 0 for a in r: if int(a) == 0: w += 1 elif int(a) == 1: l += 1 ...
output
1
81,620
17
163,241
Provide a correct Python 3 solution for this coding contest problem. Japan achieved the second straight victory in the national baseball competition WBC !! A baseball tournament was held at Aizu Gakuen High School as baseball became more popular. In this tournament, a round-robin league match will be held and the rank...
instruction
0
81,621
17
163,242
"Correct Solution: ``` while True: n = int(input()) if n == 0: break ls = [] for i in range(n): v = input().split() sum = 0 for j in range(1,n): v[j] = int(v[j]) if v[j] == 0: sum += 100 if v[j] == 1: sum...
output
1
81,621
17
163,243
Provide a correct Python 3 solution for this coding contest problem. Japan achieved the second straight victory in the national baseball competition WBC !! A baseball tournament was held at Aizu Gakuen High School as baseball became more popular. In this tournament, a round-robin league match will be held and the rank...
instruction
0
81,622
17
163,244
"Correct Solution: ``` # -*- coding: utf-8 -*- """ http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0196 """ import sys from sys import stdin from heapq import heappop, heappush input = stdin.readline def main(args): while True: n = int(input()) if n == 0: break pq = ...
output
1
81,622
17
163,245
Provide a correct Python 3 solution for this coding contest problem. Japan achieved the second straight victory in the national baseball competition WBC !! A baseball tournament was held at Aizu Gakuen High School as baseball became more popular. In this tournament, a round-robin league match will be held and the rank...
instruction
0
81,623
17
163,246
"Correct Solution: ``` # AOJ 0196 Baseball Championship # Python3 2018.6.21 bal4u while 1: n = int(input()) if n == 0: break team = [] for i in range(n): r = list(input()) t = r.pop(0) w = l = 0 for p in r: if p.isdigit() == False: pass elif int(p) == 0: w += 1 # 勝ち数 elif int(p) == 1: l += 1 ...
output
1
81,623
17
163,247
Provide a correct Python 3 solution for this coding contest problem. Japan achieved the second straight victory in the national baseball competition WBC !! A baseball tournament was held at Aizu Gakuen High School as baseball became more popular. In this tournament, a round-robin league match will be held and the rank...
instruction
0
81,624
17
163,248
"Correct Solution: ``` from collections import Counter while True: n=int(input()) if n==0: break scores=[] for i in range(n): s=input().split(" ") team=s[0] score=s[1:] c=Counter(score) c=dict(c) result=[team,c.get('0',0),c.get('1',0),c.get('2',0...
output
1
81,624
17
163,249
Provide a correct Python 3 solution for this coding contest problem. Japan achieved the second straight victory in the national baseball competition WBC !! A baseball tournament was held at Aizu Gakuen High School as baseball became more popular. In this tournament, a round-robin league match will be held and the rank...
instruction
0
81,625
17
163,250
"Correct Solution: ``` def solve(): from sys import stdin f_i = stdin ans = "" while True: n = int(f_i.readline()) if n == 0: break result = [] for i in range(n): score = f_i.readline() ...
output
1
81,625
17
163,251
Evaluate the correctness of the submitted Python 3 solution to the coding contest problem. Provide a "Yes" or "No" response. Japan achieved the second straight victory in the national baseball competition WBC !! A baseball tournament was held at Aizu Gakuen High School as baseball became more popular. In this tourname...
instruction
0
81,626
17
163,252
Yes
output
1
81,626
17
163,253