ZhenlongDai/ACPR huggingface dataset:
Problem: p03260
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b = map(int, input().split())
 
if a%2 !=0 or b%2 !=0 :
  print('Yes')
else:
  print('No')

Failing test case input:
-9 -2

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a,b = map(int, input().split())
 
if a%2 !=0 and b%2 !=0 :
  print('Yes')
else:
  print('No')

Problem: p03260
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a,b=map(int,input().split())
if a%2==1 and b%2==1:
    print("Yes")
else:
    print("NO")

Failing test case input:
23 -2

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
a,b=map(int,input().split())
if a%2==1 and b%2==1:
    print("Yes")
else:
    print("No")

Problem: p03260
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A,B=map(int, input().split())
print('Yes' if A*B%2==0 else 'No')

Failing test case input:
23 -2

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
A,B=map(int, input().split())
print('No' if A*B%2==0 else 'Yes')

Problem: p03260
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A,B = map(int,input().split())
if A%2 == 0 and B%2 == 0:
    print("No")
else:
    print("Yes")

Failing test case input:
15 -2

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
A,B = map(int,input().split())
if A%2 == 0 or B%2 == 0:
    print("No")
else:
    print("Yes")
Problem: p03045
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n, m = map(int, input().split())

xy = [0 for _ in range(n + 1)]

for _ in range(m):
    x, y, z = map(int, input().split())
    if xy[y] == 0:
        xy[y] = x
    elif xy[x] == 0:
        xy[x] = y

ans = 0
for i in xy:
    if i == 0:
        ans += 1

print(ans)


Failing test case input:
6 1
4 3 0

Expected output:
5


Actual output:
6


Fixed submission (verdict: Accepted):
n, m = map(int, input().split())

xy = [i for i in range(n + 1)]


def root(x):
    i = x
    while i != xy[i]:
        i = xy[i]
    xy[x] = i
    return i


for _ in range(m):
    x, y, z = map(int, input().split())
    rx = root(x)
    ry = root(y)
    if rx != ry:
        xy[ry] = rx

ans = -1
for i, v in enumerate(xy):
    if i == v:
        ans += 1

print(ans)

Problem: p03045
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n,m = map(int,input().split())
f = [False for _ in range(n)]
a = [[] for _ in range(n)]
res = 0

def dfs(k):
    global f
    global a
    f[k] = True
    for g in a[i]:
        if not f[g]:
            dfs(g)

for _ in range(m):
    x,y,z = map(int,input().split())
    a[x-1].append(y-1)
    a[y-1].append(x-1)

for i in range(0,n):
    if not f[i]:
        res += 1
        dfs(i)

print(res)

Failing test case input:
6 5
1 2 1
2 3 2
1 3 3
4 5 4
5 6 5

Expected output:
2

Actual output:
3


Fixed submission (verdict: Accepted):
import sys
sys.setrecursionlimit(10**7)
n,m = map(int,input().split())
f = [False for _ in range(n)]
a = [[] for _ in range(n)]
res = 0

def dfs(k):
    f[k] = True
    for g in a[k]:
        if not f[g]:
            dfs(g)

for _ in range(m):
    x,y,z = map(int,input().split())
    a[x-1].append(y-1)
    a[y-1].append(x-1)

for i in range(n):
    if not f[i]:
        res += 1
        dfs(i)
print(res)

Problem: p03045
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N, M = map(int, input().split())
R = [i for i in range(N)]
def root(x):
  if R[x] == x:
    return x
  else:
    R[x] = root(R[x])
    return R[x]
def union(x, y):
  rx = root(x)
  ry = root(y)
  if rx < ry:
    R[ry] = rx
  else:
    R[rx] = ry
for i in range(M):
  x, y, z = map(int, input().split())
  union(x - 1, y - 1)
print(len(set(R)))

Failing test case input:
6 5
1 2 1
2 3 2
1 6 3
4 5 4
1 4 5

Expected output:
1


Actual output:
2


Fixed submission (verdict: Accepted):
N, M = map(int, input().split())
R = [i for i in range(N)]
def root(x):
  if R[x] == x:
    return x
  else:
    R[x] = root(R[x])
    return R[x]
def union(x, y):
  rx = root(x)
  ry = root(y)
  if rx < ry:
    R[ry] = rx
  else:
    R[rx] = ry
for i in range(M):
  x, y, z = map(int, input().split())
  union(x - 1, y - 1)
for i in range(N):
  root(i)
print(len(set(R)))
Problem: p03045
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N,M = map(int,input().split())
xy = [list(map(int,input().split())) for _ in range(M)]
par = [-1] * N

def get_parent(n):
  if par[n] == -1:
    return n
  else:
    par[n] = get_parent(par[n])
    return par[n]

  def merge(i,j):
    i = get_parent(i)
    j = get_parent(j)
    if i != j:
      par[j] = i
      return

    for x, y in xy:
      merge(x-1, y-1)

      print(par.count(-1))

Failing test case input:
3 1
2 3 1

Expected output:
2


Actual output:

Fixed submission (verdict: Accepted):
def union_find():
    
    def get_parent(node):
        if par[node] == -1:
            return node
        else:
            par[node] = get_parent(par[node])
            return par[node]

    def merge(i, j):
        i = get_parent(i)
        j = get_parent(j)
        if i != j:
            par[j] = i
        return

    n, m = map(int, input().split())
    xyz = [list(map(int, input().split())) for _ in range(m)]
    par = [-1] * n
    for x, y, z in xyz:
        merge(x-1, y-1)
    print(par.count(-1))

union_find()

Problem: p03045
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n,m = map(int,input().split())
f = [False for _ in range(n)]
a = [[] for _ in range(n)]
res = 0

def dfs(k):
    f[k] = True
    for g in a[k]:
        if not f[g]:
            dfs(g)

for _ in range(m):
    x,y,z = map(int,input().split())
    a[x-1].append(y-1)

for i in range(n):
    if not f[i]:
        res += 1
        dfs(i)

print(res)

Failing test case input:
6 1
3 2 -1

Expected output:
5


Actual output:
6


Fixed submission (verdict: Accepted):
import sys
sys.setrecursionlimit(10**7)
n,m = map(int,input().split())
f = [False for _ in range(n)]
a = [[] for _ in range(n)]
res = 0

def dfs(k):
    f[k] = True
    for g in a[k]:
        if not f[g]:
            dfs(g)

for _ in range(m):
    x,y,z = map(int,input().split())
    a[x-1].append(y-1)
    a[y-1].append(x-1)

for i in range(n):
    if not f[i]:
        res += 1
        dfs(i)
print(res)

Problem: p03045
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N,M=map(int, input().split())

outgoing=dict()
incoming=dict()
for i in range(M):
  x,y,z=map(int, input().split())
  if x in outgoing: outgoing[x].add(y)
  else: outgoing[x]={y}
  if y in incoming: incoming[y].add(x)
  else: incoming[y]={x}


V=set()
def dfs(v):
  if v not in V:
    V.add(v)
    
cnt=0
for i in range(1, N+1):
  if i not in V:
    cnt += 1
    dfs(i)
print(cnt)

Failing test case input:
10 1
3 2 1

Expected output:
9


Actual output:
10


Fixed submission (verdict: Accepted):
import sys
mod = 10**9+7
sys.setrecursionlimit(mod)
N,M=map(int, input().split())

adj={i: set() for i in range(1,N+1)}
for i in range(M):
  x,y,z=map(int, input().split())
  adj[x].add(y)
  adj[y].add(x)
V=set()
def dfs(v):
  if v not in V:
    V.add(v)
    for u in adj[v]: dfs(u)
cnt=0
for i in range(1,N+1):
  if i not in V:
    cnt += 1
    dfs(i)
print(cnt)
Problem: p03045
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n,m = map(int,input().split())
lx = []
f = [False for _ in range(n)]
a = [[] for _ in range(n)]
for _ in range(m):
    x,y,z = map(int,input().split())
    a[x-1].append(y-1)

def dfs(i):
    f[i] = True
    for g in a[i]:
        if not f[g]:
            dfs(g)
res = 0
for i in range(n):
    if not f[i]:
        res += 1
        dfs(i)

print(res)

Failing test case input:
6 1
4 3 0

Expected output:
5


Actual output:
6


Fixed submission (verdict: Accepted):
import sys
sys.setrecursionlimit(10**7)
n,m = map(int,input().split())
f = [False for _ in range(n)]
a = [[] for _ in range(n)]
res = 0

def dfs(k):
    f[k] = True
    for g in a[k]:
        if not f[g]:
            dfs(g)

for _ in range(m):
    x,y,z = map(int,input().split())
    a[x-1].append(y-1)
    a[y-1].append(x-1)

for i in range(n):
    if not f[i]:
        res += 1
        dfs(i)
print(res)

Problem: p03045
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n, m = map(int, input().split())
adj = [[] for _ in range(n)]
for _ in range(m):
  x, y, z = map(int, input().split())
  adj[x-1].append(y-1)
  adj[y-1].append(x-1)
opn = [True] * n
count = 0
for i in range(n):
  if opn:
    count += 1
    opn[i] = False
    stack = [i]
    while stack:
      u = stack.pop()
      for v in adj[u]:
        if opn[v]:
          stack.append(v)
          opn[v] = False
print(count)

Failing test case input:
6 1
3 1 -1

Expected output:
5


Actual output:
6


Fixed submission (verdict: Accepted):
n, m = map(int, input().split())
adj = [[] for _ in range(n)]
for _ in range(m):
  x, y, z = map(int, input().split())
  adj[x-1].append(y-1)
  adj[y-1].append(x-1)
opn = [True] * n
count = 0
for i in range(n):
  if opn[i]:
    count += 1
    opn[i] = False
    stack = [i]
    while stack:
      u = stack.pop()
      for v in adj[u]:
        if opn[v]:
          stack.append(v)
          opn[v] = False
print(count)

Problem: p03045
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n,m = map(int,input().split())
f = [False for _ in range(n)]
a = [[] for _ in range(n)]
res = 0

def dfs(k):
    f[k] = True
    for g in a[k]:
        if not f[g]:
            dfs(g)

for _ in range(m):
    x,y,z = map(int,input().split())
    a[y-1].append(x-1)

for i in range(n):
    if not f[i]:
        res += 1
        dfs(i)

print(res)

Failing test case input:
10 1
1 2 1

Expected output:
9


Actual output:
10


Fixed submission (verdict: Accepted):
import sys
sys.setrecursionlimit(10**7)
n,m = map(int,input().split())
f = [False for _ in range(n)]
a = [[] for _ in range(n)]
res = 0

def dfs(k):
    f[k] = True
    for g in a[k]:
        if not f[g]:
            dfs(g)

for _ in range(m):
    x,y,z = map(int,input().split())
    a[x-1].append(y-1)
    a[y-1].append(x-1)

for i in range(n):
    if not f[i]:
        res += 1
        dfs(i)
print(res)
Problem: p03045
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
from collections import deque
import heapq        

N, M = map(int, input().split())
edges = {i: [] for i in range(N)}
for _ in range(M):
    x, y, _ = map(int, input().split())
    edges[x-1].append(y-1)

ans = 0
visited = [False]*N
for i in range(N):
    if visited[i]:
        continue
    stack = [i]
    while stack:
        v = stack.pop()
        for u in edges[v]:
            if not visited[u]:
                visited[u] = True
                stack.append(u)
    ans += 1
print(ans)

Failing test case input:
6 1
3 1 -1

Expected output:
5


Actual output:
6


Fixed submission (verdict: Accepted):
from collections import deque
import heapq        

N, M = map(int, input().split())
edges = {i: [] for i in range(N)}
for _ in range(M):
    x, y, _ = map(int, input().split())
    edges[x-1].append(y-1)
    edges[y-1].append(x-1)

ans = 0
visited = [False]*N
for i in range(N):
    if visited[i]:
        continue
    stack = [i]
    while stack:
        v = stack.pop()
        for u in edges[v]:
            if not visited[u]:
                visited[u] = True
                stack.append(u)
    ans += 1
print(ans)

Problem: p03045
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
def find(x):
    if x == par[x]:
        return x
    par[x] = find(par[x])
    return par[x]
 
def union(x,y):
    x,y = find(x),find(y)
    if x == y:
        return
    par[y] = x
 
n,m = map(int,input().split())
par = {i:i for i in range(1,n+1)}
for _ in range(m):
    a,b,c = map(int,input().split())
    union(a,b)
print(len(set(par.values())))

Failing test case input:
6 5
1 2 1
2 3 2
1 6 3
4 5 4
1 4 5

Expected output:
1


Actual output:
2


Fixed submission (verdict: Accepted):
def find(x):
    if x == par[x]:
        return x
    par[x] = find(par[x])
    return par[x]
 
def union(x,y):
    x,y = find(x),find(y)
    if x == y:
        return
    par[y] = x
 
n,m = map(int,input().split())
par = {i:i for i in range(1,n+1)}
for _ in range(m):
    a,b,c = map(int,input().split())
    union(a,b)
print(sum([1 for i in range(1,n+1) if par[i] == i]))

Problem: p03045
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):

N,M=map(int,input().split())
XYZ=[list(map(int,input().split()))for i in range(M)]

flag=list(range(N))
def takeflag(p):
    stock=[]
    while flag[flag[p]]!=flag[p]:
        stock.append(p)
        p=flag[p]
    p=flag[p]
    for i in stock:
        flag[i]=p
    return p

for x,y,z in XYZ:
    flag[x-1]=y-1

st=set()
for i in range(N):
    st.add(takeflag(i))

print(len(st))



Failing test case input:
6 5
1 2 1
2 3 2
1 6 3
4 5 4
1 4 5

Expected output:
1


Actual output:
3


Fixed submission (verdict: Accepted):
N,M=map(int,input().split())

flag=list(range(N))
def takeflag(p):
    stock=[]
    while flag[flag[p]]!=flag[p]:
        stock.append(p)
        p=flag[p]
    p=flag[p]
    for i in stock:
        flag[i]=p
    return p

for i in range(M):
    x,y,z = map(int,input().split())
    x,y=x-1,y-1
    x,y = map(takeflag,(x,y))
    x,y = min(x,y),max(x,y)
    flag[x]=y

st=set()
for i in range(N):
    st.add(takeflag(i))

print(len(st))
Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
print('2018/01'+s[8:11])


Failing test case input:
2017/01/70

Expected output:
2018/01/70


Actual output:
2018/0170


Fixed submission (verdict: Accepted):
s = input()
print('2018/01/'+s[-2:])

Problem: p03469
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
s = str(input())
ans = '2018' + s[5:]
print(ans)

Failing test case input:
201//01/78

Expected output:
2018/01/78


Actual output:
201801/78


Fixed submission (verdict: Accepted):
s = str(input())
ans = '2018' + s[4:]
print(ans)

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s=list(input())
s[0:3]=["2","0","1","8"]
print("".join(s))

Failing test case input:
2011/01/79

Expected output:
2018/01/79


Actual output:
20181/01/79


Fixed submission (verdict: Accepted):
s=list(input())
s[0:4]=["2","0","1","8"]
print("".join(s))

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s=list(input())
n=s[8:]
print("2018/01/"+str(n))

Failing test case input:
2014/01/94

Expected output:
2018/01/94


Actual output:
2018/01/['9', '4']


Fixed submission (verdict: Accepted):
s=list(input())
print("2018/01/"+str(s[8])+str(s[9]))

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
print('2018'+s[5:])

Failing test case input:
2016/01/17

Expected output:
2018/01/17


Actual output:
201801/17


Fixed submission (verdict: Accepted):
s = input()
print('2018'+s[4:])

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S=input()
print("2018/"+S[6:])

Failing test case input:
2014/01/7-

Expected output:
2018/01/7-


Actual output:
2018/1/7-


Fixed submission (verdict: Accepted):
S=input()
print("2018/"+S[5:])

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = list(input())
S[3] = "8"
print(S)

Failing test case input:
201//01/86

Expected output:
2018/01/86


Actual output:
2 0 1 8 / 0 1 / 8 6

Fixed submission (verdict: Accepted):
S = list(input())
S[3] = "8"
print("".join(S))

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = list(input())
S[3] = "8"
print(S[0:])

Failing test case input:
2016/01/7/

Expected output:
2018/01/7/


Actual output:
2 0 1 8 / 0 1 / 7 /

Fixed submission (verdict: Accepted):
S = list(input())
S[3] = "8"
print("".join(S))

Problem: p03469
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
s = input()
print(s[:3]+'7'+s[4:])

Failing test case input:
2010/01/86

Expected output:
2018/01/86


Actual output:
2017/01/86


Fixed submission (verdict: Accepted):
s = input()
print(s[:3]+'8'+s[4:])

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
print("2018" + s[3:])

Failing test case input:
2016/01/80

Expected output:
2018/01/80


Actual output:
20186/01/80


Fixed submission (verdict: Accepted):
s = input()
print("2018" + s[4:])
Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
print(s[0:3]+'8'+s[5:])

Failing test case input:
2017/01/42

Expected output:
2018/01/42


Actual output:
201801/42


Fixed submission (verdict: Accepted):
s = input()
print(s[:3]+'8'+s[4:])

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = input()

answer = S[0:2] + "8" + S[4:9]

print(answer)

Failing test case input:
2016/01/52

Expected output:
2018/01/52


Actual output:
208/01/5


Fixed submission (verdict: Accepted):
S = input()
 
answer = S[0:3] + "8" + S[4:10]
 
print(answer)

Problem: p03469
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
s=list(input())
s[2]='8'
print("".join(s))

Failing test case input:
2017/01/53

Expected output:
2018/01/53


Actual output:
2087/01/53


Fixed submission (verdict: Accepted):
s=list(input())
s[3]='8'
print("".join(s))

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):

S = input()
S[0:4]==2017
print(S)

Failing test case input:
201//01/68

Expected output:
2018/01/68


Actual output:
201//01/68


Fixed submission (verdict: Accepted):

S = input()
print("2018"+S[4:])

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s=input()
print("2018".join(s[4:]))

Failing test case input:
2010/01/76

Expected output:
2018/01/76


Actual output:
/20180201812018/2018720186


Fixed submission (verdict: Accepted):
s=input()
print("2018"+s[4:])

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s=input()
print(s[:2]+'8'+s[4:])


Failing test case input:
2014/01/38

Expected output:
2018/01/38


Actual output:
208/01/38


Fixed submission (verdict: Accepted):
s=input()
print(s[:3]+'8'+s[4:])

Problem: p03469
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
s = input()
print("2018" + s[3:])


Failing test case input:
2017/01/07

Expected output:
2018/01/07

Actual output:
20187/01/07


Fixed submission (verdict: Accepted):
s = input()
print("2018" + s[4:])

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s=input()
s="2018"+s[:4]

Failing test case input:
2016/01/7/

Expected output:
2018/01/7/


Actual output:

Fixed submission (verdict: Accepted):
s=input()
s="2018"+s[4:]
print(s)

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
print(input(2018)[5:])

Failing test case input:
2017/01/14

Expected output:
2018/01/14


Actual output:
201801/14


Fixed submission (verdict: Accepted):
print(input(2018)[4:])

Problem: p03469
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
s = input()

ls = []

for i,j in enumerate(ls):
    if i == 3:
        ls.append("8")
    else:
        ls.append(j)
        
print(''.join(ls))

Failing test case input:
2010/01/74

Expected output:
2018/01/74


Actual output:

Fixed submission (verdict: Accepted):
s = input()

ls = []

for i,j in enumerate(s):
    if i == 3:
        ls.append("8")
    else:
        ls.append(j)
        
print(''.join(ls))
Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s=input()
s=s[:3]+"8"+s[:4]
print(s)

Failing test case input:
2017/01/16

Expected output:
2018/01/16


Actual output:
20182017


Fixed submission (verdict: Accepted):
s=input()
s=s[:3]+"8"+s[4:]
print(s)

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = list(input())
print('2017/01/'+''.join(S[8:]))


Failing test case input:
2016/01/52

Expected output:
2018/01/52


Actual output:
2017/01/52


Fixed submission (verdict: Accepted):
S = list(input())
print('2018/01/'+''.join(S[8:]))

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
print('2017'+input()[4::])

Failing test case input:
2017/01/42

Expected output:
2018/01/42


Actual output:
2017/01/42


Fixed submission (verdict: Accepted):
print('2018'+input()[4::])

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
date = input('')
sub_date = date[4:-1]
print('2018{0}'.format(sub_date))


Failing test case input:
2016/01/61

Expected output:
2018/01/61


Actual output:
2018/01/6


Fixed submission (verdict: Accepted):
date = input('')
sub_date = date[4:]
print('2018{0}'.format(sub_date))

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
print("2017" + s[4:])

Failing test case input:
2011/01/76

Expected output:
2018/01/76


Actual output:
2017/01/76


Fixed submission (verdict: Accepted):
s = input()
print("2018" + s[4:])

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
print("2018" + s[:4])

Failing test case input:
2017/01/34

Expected output:
2018/01/34


Actual output:
20182017


Fixed submission (verdict: Accepted):
s = input()
print("2018" + s[4:])

Problem: p03469
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
import sys

S = sys.stdin.readline().strip()
print("2018" + S[5:])

Failing test case input:
2010/01/75

Expected output:
2018/01/75


Actual output:
201801/75


Fixed submission (verdict: Accepted):
import sys
 
S = sys.stdin.readline().strip()
print("2018" + S[4:])

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()

a = s[0:3] + "8" + s[4:]
print(s)

Failing test case input:
2015/01//7

Expected output:
2018/01//7


Actual output:
2015/01//7


Fixed submission (verdict: Accepted):
s = input()

a = s[0:3] + "8" + s[4:]
print(a)

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = str(input())
strlist = list(s)
strlist[3] = '8'
s = str(strlist)
print(s)

Failing test case input:
2016/01/6/

Expected output:
2018/01/6/


Actual output:
2 0 1 8 / 0 1 / 6 /

Fixed submission (verdict: Accepted):
s = str(input())
strlist = list(s)
strlist[3] = '8'
s = ''.join(strlist)
print(s)

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n=input()
print(n[0:2]+"8"+n[4:10])

Failing test case input:
2015/01//7

Expected output:
2018/01//7


Actual output:
208/01//7


Fixed submission (verdict: Accepted):
n=input()
print(n[0:3]+"8"+n[4:10])
Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
print(c if i!=3 else '8' for i,c in enumerate(input()))

Failing test case input:
2010/01/74

Expected output:
2018/01/74


Actual output:
<generator object <genexpr> at 0x7fc97ede0740>


Fixed submission (verdict: Accepted):
print("".join([c if i!=3 else '8' for i,c in enumerate(input())]))

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = input()
t = '2018' + S[4:]

Failing test case input:
2017/01/34

Expected output:
2018/01/34


Actual output:

Fixed submission (verdict: Accepted):
S = input()
t = '2018' + S[4:]
print(t)

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
print('2017' + s[4::])

Failing test case input:
2016/01/60

Expected output:
2018/01/60


Actual output:
2017/01/60


Fixed submission (verdict: Accepted):
s = input()
print('2018' + s[4:])

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S=input()
print("2018/01"+S[-2:])

Failing test case input:
2011/01/75

Expected output:
2018/01/75


Actual output:
2018/0175


Fixed submission (verdict: Accepted):
S=input()
print("2018/01/"+S[-2:])

Problem: p03469
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
s = list(input().strip())
s[3] = '7'
print(''.join(s))


Failing test case input:
2017/01/31

Expected output:
2018/01/31

Actual output:
2017/01/31


Fixed submission (verdict: Accepted):
s = list(input().strip())
s[3] = '8'
print(''.join(s))

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = list(input())
s[3] = "8"
print(s)

Failing test case input:
2010/01/67

Expected output:
2018/01/67


Actual output:
2 0 1 8 / 0 1 / 6 7

Fixed submission (verdict: Accepted):
s = list(input())
s[3] = "8"
print("".join(s))

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s=input();print(s[:3]+"8"+s[5:])

Failing test case input:
2010/01/78

Expected output:
2018/01/78


Actual output:
201801/78


Fixed submission (verdict: Accepted):
s=input();print(s[:3]+"8"+s[4:])

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s_17 = list(input())
s_18 = ''

for s in s_17:
    if (s != '7'):
        s_18 += s
    else:
        s_18+='8'

print(s_18)

Failing test case input:
2015/01/.6

Expected output:
2018/01/.6


Actual output:
2015/01/.6


Fixed submission (verdict: Accepted):
s_17 = list(input())
s_18 = ''

for s in range(len(s_17)):
    if (s == 3):
        s_18 += '8'
    else:
        s_18 += s_17[s]

print(s_18)

Problem: p03469
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
S = list(map(str, input()))
S[3] = "7"

for s in S:
  print(s, end = "")

Failing test case input:
2011/01/75

Expected output:
2018/01/75


Actual output:
2017/01/75

Fixed submission (verdict: Accepted):
S = list(map(str, input()))
S[3] = "8"

for s in S:
  print(s, end = "")
Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = list(input())
S[2] = '8'
print(S)


Failing test case input:
2017/01/15

Expected output:
2018/01/15


Actual output:
2 0 8 7 / 0 1 / 1 5

Fixed submission (verdict: Accepted):
S = list(input())
S[3] = "8"
print("".join(S))

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
print('2018' + input()[:4])


Failing test case input:
2014/01/6-

Expected output:
2018/01/6-


Actual output:
20182014


Fixed submission (verdict: Accepted):
print('2018' + input()[4:])

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()

print("2018" + s[:4])

Failing test case input:
2011/01/76

Expected output:
2018/01/76


Actual output:
20182011


Fixed submission (verdict: Accepted):
s = input()

print("2018" + s[4:])

Problem: p03469
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
S=input()
print("2018"+S[5:])

Failing test case input:
2018/01/42

Expected output:
2018/01/42


Actual output:
201801/42


Fixed submission (verdict: Accepted):
S=input()
print("2018"+S[4:])

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
t=list(input())
t[3]="8"
print(str(t))


Failing test case input:
2016/01//7

Expected output:
2018/01//7


Actual output:
2 0 1 8 / 0 1 / / 7

Fixed submission (verdict: Accepted):
t=list(input())
t[3]="8"
str="".join(t)
print(str)

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
date = input('')
sub_date = date[4:-1]
print('2018/{0}'.format(sub_date))

Failing test case input:
2011/01/79

Expected output:
2018/01/79


Actual output:
2018//01/7


Fixed submission (verdict: Accepted):
date = input('')
sub_date = date[4:]
print('2018{0}'.format(sub_date))

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
def ABC_85_A():
    S = input()
    S = list(S)
    S[3] = '4'
    S = ''.join(S)
    print(S)

if __name__ == '__main__':

    ABC_85_A()

Failing test case input:
201//01/68

Expected output:
2018/01/68


Actual output:
2014/01/68


Fixed submission (verdict: Accepted):
def ABC_85_A():
    S = input()
    S = list(S)
    S[3] = '8'
    S = ''.join(S)
    print(S)

if __name__ == '__main__':

    ABC_85_A()

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
print('2018/'+s[6:11])

Failing test case input:
2018/01/20

Expected output:
2018/01/20


Actual output:
2018/1/20


Fixed submission (verdict: Accepted):
s = input()
print('2018/01/'+s[-2:])

Problem: p03469
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
print("2018/01/" + input()[-2])

Failing test case input:
2010/01/67

Expected output:
2018/01/67


Actual output:
2018/01/6


Fixed submission (verdict: Accepted):
print("2018/01/" + input()[-2:])

Problem: p03469
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
S = input()
print("2017" + S[4:])

Failing test case input:
2014/01/6-

Expected output:
2018/01/6-


Actual output:
2017/01/6-


Fixed submission (verdict: Accepted):
S = input()
print("2018" + S[4:])
Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
Sin=str(input())
Sout='2017/01/'+Sin[8]+Sin[9]
print(Sout)

Failing test case input:
2010/01/88

Expected output:
2018/01/88


Actual output:
2017/01/88


Fixed submission (verdict: Accepted):
Sin=str(input())
Sout='2018/01/'+Sin[8]+Sin[9]
print(Sout)

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S=input()
print('2008'+S[4:])

Failing test case input:
2010/01/78

Expected output:
2018/01/78


Actual output:
2008/01/78


Fixed submission (verdict: Accepted):
S=input()
print('2018'+S[4:])

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = input()
print("2018"+S[5:])

Failing test case input:
2016/01/08

Expected output:
2018/01/08


Actual output:
201801/08


Fixed submission (verdict: Accepted):
S = input()
print("2018"+S[4:])

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = list(input())

N[3] = "7"
date = ''.join(N)
print(date)

Failing test case input:
2017/01/16

Expected output:
2018/01/16


Actual output:
2017/01/16


Fixed submission (verdict: Accepted):
N = list(input())
N[3] = "8"
date = ''.join(N)
print(date)

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s=input()
s="2018"+s[4]
print(s)

Failing test case input:
2010/01/67

Expected output:
2018/01/67


Actual output:
2018/


Fixed submission (verdict: Accepted):
s=input()
s="2018"+s[4:]
print(s)

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = input()
print("2017"+a[4:])

Failing test case input:
201//01/86

Expected output:
2018/01/86


Actual output:
2017/01/86


Fixed submission (verdict: Accepted):
a = input()
print("2018"+a[4:])

Problem: p03469
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
print("2018"+input()[:4])

Failing test case input:
2017/01/06

Expected output:
2018/01/06


Actual output:
20182017


Fixed submission (verdict: Accepted):
print("2018"+input()[4:])

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
print('2018/01' + s[-2] + s[-1])

Failing test case input:
2016/01/:0

Expected output:
2018/01/:0


Actual output:
2018/01:0


Fixed submission (verdict: Accepted):
s = input()
print('2018/01/' + s[-2] + s[-1])

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = str(input())
print('2018/01' + s[-2] + s[-1])

Failing test case input:
2017/01/22

Expected output:
2018/01/22


Actual output:
2018/0122


Fixed submission (verdict: Accepted):
s = input()
print('2018/01/' + s[-2] + s[-1])

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
print('2017' + s[3:])

Failing test case input:
2011/01/78

Expected output:
2018/01/78


Actual output:
20171/01/78


Fixed submission (verdict: Accepted):
s = input()
print('2018' + s[4:])

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = input()

print('2018/01/' + S[9:])

Failing test case input:
2018/01/15

Expected output:
2018/01/15


Actual output:
2018/01/5


Fixed submission (verdict: Accepted):
S = input()

print('2018/01/' + S[8:])
Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = list(input())
S[3] = "8"
print(S[0:10])

Failing test case input:
2015/01//7

Expected output:
2018/01//7


Actual output:
2 0 1 8 / 0 1 / / 7

Fixed submission (verdict: Accepted):
S = list(input())
S[3] = "8"
print("".join(S))

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = str(input())
print(S[0:3]+"8"+S[5:])


Failing test case input:
2010/01/76

Expected output:
2018/01/76


Actual output:
201801/76


Fixed submission (verdict: Accepted):
S = str(input())
print(S[0:3]+"8"+S[4:])

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
print("2018/01/" + s[len("2017/01"):])

Failing test case input:
2018/01/20

Expected output:
2018/01/20


Actual output:
2018/01//20


Fixed submission (verdict: Accepted):
s = input()
print("2018/01" + s[len("2017/01"):])

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = input()
print('2018'+S[5:])

Failing test case input:
2011/01/78

Expected output:
2018/01/78


Actual output:
201801/78


Fixed submission (verdict: Accepted):
S = input()
print('2018'+S[4:])

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = list(map(str, input()))
S[3]='8'
print(S)

Failing test case input:
2018/01/15

Expected output:
2018/01/15


Actual output:
2 0 1 8 / 0 1 / 1 5

Fixed submission (verdict: Accepted):
S = list(map(str, input()))
S[3]='8'
print(''.join(S))

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
str = input()
ans = '2018'+str[4:7]
print(ans)

Failing test case input:
2016/01//7

Expected output:
2018/01//7


Actual output:
2018/01


Fixed submission (verdict: Accepted):
str = input()
ans = '2018'+str[4:10]
print(ans)

Problem: p03469
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
import sys
input = sys.stdin.readline
s=input().strip()
print("2017"+s[4:])


Failing test case input:
2017/01/27

Expected output:
2018/01/27


Actual output:
2017/01/27


Fixed submission (verdict: Accepted):
import sys
input = sys.stdin.readline
s=input().strip()
print("2018/"+s[5:])

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = input()
print("2018"+S[:4])

Failing test case input:
2010/01/65

Expected output:
2018/01/65


Actual output:
20182010


Fixed submission (verdict: Accepted):
S = input()
print("2018"+S[4:])

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
print("2017" + s[:4])

Failing test case input:
201//01/96

Expected output:
2018/01/96


Actual output:
2017201/


Fixed submission (verdict: Accepted):
s = input()
print("2018" + s[4:])
Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = list(input())
s[3] = "8"

for i in s:
  print(s,end="")

Failing test case input:
2011/01/79

Expected output:
2018/01/79


Actual output:
['2', '0', '1', '8', '/', '0', '1', '/', '7', '9']['2', '0', '1', '8', '/', '0', '1', '/', '7', '9']['2', '0', '1', '8', '/', '0', '1', '/', '7', '9']['2', '0', '1', '8', '/', '0', '1', '/', '7', '9']['2', '0', '1', '8', '/', '0', '1', '/', '7', '9']['2', '0', '1', '8', '/', '0', '1', '/', '7', '9']['2', '0', '1', '8', '/', '0', '1', '/', '7', '9']['2', '0', '1', '8', '/', '0', '1', '/', '7', '9']['2', '0', '1', '8', '/', '0', '1', '/', '7', '9']['2', '0', '1', '8', '/', '0', '1', '/', '7', '9']

Fixed submission (verdict: Accepted):
s = list(input())
s[3] = "8"

for i in s:
  print(i,end="")

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = input()
print('2017'+S[4:])

Failing test case input:
2017/01/09

Expected output:
2018/01/09


Actual output:
2017/01/09


Fixed submission (verdict: Accepted):
S = input()
print('2018'+S[4:])

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
print('2018' + s[:4])

Failing test case input:
2014/01/71

Expected output:
2018/01/71


Actual output:
20182014


Fixed submission (verdict: Accepted):
s = input()
print('2018/01/' + s[-2:])

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s=input()
print("2018"+s[:4])

Failing test case input:
201//01/96

Expected output:
2018/01/96


Actual output:
2018201/


Fixed submission (verdict: Accepted):
s=input()
print("2018"+s[4:])

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
print('2017' + s[4:])

Failing test case input:
2014/01/82

Expected output:
2018/01/82


Actual output:
2017/01/82


Fixed submission (verdict: Accepted):
s = input()
print('2018' + s[4:])

Problem: p03469
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
print('2018/01/',input()[8:],end='')

Failing test case input:
2016/01/60

Expected output:
2018/01/60


Actual output:
2018/01/ 60

Fixed submission (verdict: Accepted):
print('2018/01/'+input()[8:])

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()

print("2018" + s[:4])

Failing test case input:
2011/01/76

Expected output:
2018/01/76


Actual output:
20182011


Fixed submission (verdict: Accepted):
s = input()

print("2018" + s[4:])

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x = list(input())
x[3] = "8"
print(x)



Failing test case input:
2010/01/67

Expected output:
2018/01/67


Actual output:
2 0 1 8 / 0 1 / 6 7

Fixed submission (verdict: Accepted):
x = list(input())
x[3] = "8"
print("".join(x))

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s=input()
print('2018/'+s[4:9])

Failing test case input:
2010/01/76

Expected output:
2018/01/76


Actual output:
2018//01/7


Fixed submission (verdict: Accepted):
s=input()
print('2018'+s[4:])
Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
print("2017/01/"+s[-2:])

Failing test case input:
2017/01//7

Expected output:
2018/01//7


Actual output:
2017/01//7


Fixed submission (verdict: Accepted):
s = input()
print("2018/01/"+s[-2:])

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = input()
print("2019"+S[4:12])

Failing test case input:
2010/01/74

Expected output:
2018/01/74


Actual output:
2019/01/74


Fixed submission (verdict: Accepted):
S = input()
print("2018"+S[4:12])

Problem: p03469
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
s = input()
print('2017'+s[4:])

Failing test case input:
2017/01/70

Expected output:
2018/01/70


Actual output:
2017/01/70


Fixed submission (verdict: Accepted):
s = input()
print('2018'+s[4:])

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s=input()
print('2018'+s[4:9])


Failing test case input:
2015/01//6

Expected output:
2018/01//6


Actual output:
2018/01//


Fixed submission (verdict: Accepted):
s=input()
print('2018'+s[4:])

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
from pprint import pprint as pp

s = input()
print("2018/"+s[4:])

Failing test case input:
2017/01/.8

Expected output:
2018/01/.8


Actual output:
2018//01/.8


Fixed submission (verdict: Accepted):
from pprint import pprint as pp

s = input()
print("2018"+s[4:])

Problem: p03469
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
S = input()
print("2018"+S[:4])

Failing test case input:
2015/01//7

Expected output:
2018/01//7


Actual output:
20182015


Fixed submission (verdict: Accepted):
S = input()
print("2018"+S[4:])

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
print('2017'+str(input())[4:])

Failing test case input:
2011/01/67

Expected output:
2018/01/67


Actual output:
2017/01/67


Fixed submission (verdict: Accepted):

print('2018'+str(input())[4:])

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()

S = s[:3] + '8 '+ s[4:]

print(S)

Failing test case input:
2010/01/97

Expected output:
2018/01/97


Actual output:
2018 /01/97


Fixed submission (verdict: Accepted):
s = input()
 
S = s[:3] + '8' + s[4:]
 
print(S)

Problem: p03469
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
s = input()
print(s[:2]+"8"+s[4:])

Failing test case input:
2010/01/88

Expected output:
2018/01/88


Actual output:
208/01/88


Fixed submission (verdict: Accepted):
s = input()
print(s[:3]+"8"+s[4:])

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s=input()
print("2018"+s[:4])

Failing test case input:
2015/01/70

Expected output:
2018/01/70


Actual output:
20182015


Fixed submission (verdict: Accepted):
s=input()
print("2018"+s[4:])

Problem: p03469
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x = input()

print("2018" + x[6:])

Failing test case input:
2017/01/70

Expected output:
2018/01/70


Actual output:
20181/70


Fixed submission (verdict: Accepted):
x = input()

print("2018" + x[4:])
Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = input()
print('2017' + S[4:])


Failing test case input:
2017/01//7

Expected output:
2018/01//7


Actual output:
2017/01//7


Fixed submission (verdict: Accepted):
S = input()
print('2018' + S[4:])

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = list(input())
S[3] = '8'
print(S)


Failing test case input:
2017/01//7

Expected output:
2018/01//7


Actual output:
2 0 1 8 / 0 1 / / 7

Fixed submission (verdict: Accepted):
S = list(input())
S[3] = "8"
print("".join(S))

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = input()
print('2018' + S[3:])

Failing test case input:
2010/01/78

Expected output:
2018/01/78


Actual output:
20180/01/78


Fixed submission (verdict: Accepted):
S = input()

print('2018' + S[4:])

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = list(input())

N[3] = "8"

print(N)
date = ''.join(N)
print(date)

Failing test case input:
2014/01/71

Expected output:
2018/01/71


Actual output:
['2', '0', '1', '8', '/', '0', '1', '/', '7', '1']
2018/01/71


Fixed submission (verdict: Accepted):
N = list(input())
N[3] = "8"
date = ''.join(N)
print(date)

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
print("2018"+input())

Failing test case input:
2010/01/76

Expected output:
2018/01/76


Actual output:
20182010/01/76


Fixed submission (verdict: Accepted):
print("2018"+input()[4:])

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s=input()
print(s[:3]+'8'+s[5:8]+str(s[9:]))

Failing test case input:
2017/01/15

Expected output:
2018/01/15


Actual output:
201801/5


Fixed submission (verdict: Accepted):
s=input()
print(s[:3]+'8'+s[4:])

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s=input();print(s[:2]+'8'+s[4:])

Failing test case input:
2010/01/74

Expected output:
2018/01/74


Actual output:
208/01/74


Fixed submission (verdict: Accepted):
s=input();print(s[:3]+'8'+s[4:])

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
print(s[:3]+'8'+s[5:])

Failing test case input:
2016/01/52

Expected output:
2018/01/52


Actual output:
201801/52


Fixed submission (verdict: Accepted):
s = input()
print(s[:3]+'8'+s[4:])

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
print(s[0:3]+'8'+s[5:9])

Failing test case input:
2017/01/22

Expected output:
2018/01/22


Actual output:
201801/2


Fixed submission (verdict: Accepted):
s = input()
print(s[:3]+'8'+s[4:])

Problem: p03469
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
print('2018/01' + input()[-2:])

Failing test case input:
2012/01/47

Expected output:
2018/01/47


Actual output:
2018/0147


Fixed submission (verdict: Accepted):
print('2018/01/' + input()[-2:])
Problem: p03469
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
S = input()
ans = S[:4] + '8' + S[5:]
print(ans)

Failing test case input:
2010/01/55

Expected output:
2018/01/55


Actual output:
2010801/55


Fixed submission (verdict: Accepted):
S = input()
ans = S[:3] + '8' + S[4:]
print(ans)

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a=input()
print("2018"+a[3:])


Failing test case input:
2014/01/94

Expected output:
2018/01/94


Actual output:
20184/01/94


Fixed submission (verdict: Accepted):
a=input()
print("2018"+a[4:])

Problem: p03469
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
S = list(input())
print("".join(S))



Failing test case input:
2010/01/87

Expected output:
2018/01/87


Actual output:
2010/01/87


Fixed submission (verdict: Accepted):
S = list(input())
S[3] = "8"
print("".join(S))

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s=input()
print(s[:3]+'8'+s[5:])

Failing test case input:
2015/01/07

Expected output:
2018/01/07


Actual output:
201801/07


Fixed submission (verdict: Accepted):
s=input()
print(s[:3]+'8'+s[4:])

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
print('2018/01/'+input()[9:])

Failing test case input:
2017/01/37

Expected output:
2018/01/37


Actual output:
2018/01/7


Fixed submission (verdict: Accepted):
print('2018/01/'+input()[-2:])

Problem: p03469
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
S = input()
print('2018' + S[:4])

Failing test case input:
2014/01/7-

Expected output:
2018/01/7-


Actual output:
20182014


Fixed submission (verdict: Accepted):
S = input()
print('2018' + S[4:])

Problem: p03469
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a = input()
print('2018'+a[4:6])

Failing test case input:
2016/01/31

Expected output:
2018/01/31


Actual output:
2018/0


Fixed submission (verdict: Accepted):
a = input()
print('2018'+a[4:])

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = list(input())
S[3] = "8"
print(S[::])


Failing test case input:
2010/01/78

Expected output:
2018/01/78


Actual output:
2 0 1 8 / 0 1 / 7 8

Fixed submission (verdict: Accepted):
S = list(input())
S[3] = "8"
print("".join(S))

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
print('2018/01' + s[-2:])

Failing test case input:
2017/01/15

Expected output:
2018/01/15


Actual output:
2018/0115


Fixed submission (verdict: Accepted):
s = input()
print('2018/01/' + s[-2:])

Problem: p03469
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
S = input()
print(S[:2]+"8"+S[4:])

Failing test case input:
2015/01//6

Expected output:
2018/01//6


Actual output:
208/01//6


Fixed submission (verdict: Accepted):
S = input()
print(S[:3]+"8"+S[4:])

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = str(input())
print(S[0:2]+"8"+S[4:])


Failing test case input:
2017/01/80

Expected output:
2018/01/80


Actual output:
208/01/80


Fixed submission (verdict: Accepted):
S = str(input())
print(S[0:3]+"8"+S[4:])
Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
print(s[0:3]+'8'+s[5:8])

Failing test case input:
2018/01/42

Expected output:
2018/01/42


Actual output:
201801/


Fixed submission (verdict: Accepted):
s = input()
print(s[:3]+'8'+s[4:])

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = input()

print('2017' + S[4:])

Failing test case input:
2017/01/14

Expected output:
2018/01/14


Actual output:
2017/01/14


Fixed submission (verdict: Accepted):
S = input()

print('2018' + S[4:])

Problem: p03469
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
a = input()
b = a[0:3] + '1' + a[4:]
print(b)

Failing test case input:
2014/01/94

Expected output:
2018/01/94


Actual output:
2011/01/94


Fixed submission (verdict: Accepted):
a = input()
b = a[0:3] + '8' + a[4:]
print(b)

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):

S = input()
S[0:4]=="2017"
print(S)

Failing test case input:
2017/01/09

Expected output:
2018/01/09


Actual output:
2017/01/09


Fixed submission (verdict: Accepted):

S = input()
print("2018"+S[4:])

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):

num = list("2017/01/31")
num[3] = "8"
print("".join(num))

Failing test case input:
2017/01//7

Expected output:
2018/01//7


Actual output:
2018/01/31


Fixed submission (verdict: Accepted):

num = list(input())
num[3] = "8"
print("".join(num))

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
print(s[:2]+"8"+s[4:])

Failing test case input:
2014/01/83

Expected output:
2018/01/83


Actual output:
208/01/83


Fixed submission (verdict: Accepted):
s = input()
print("2018"+s[4:])

Problem: p03469
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = input()

print("2018/01/" + S[8:9])


Failing test case input:
2017/01//7

Expected output:
2018/01//7


Actual output:
2018/01//


Fixed submission (verdict: Accepted):
S = input()

print("2018/01/" + S[8:10])