Problem:


Score : 100 points

Problem Statement

Given is a string S representing the day of the week today.

S is SUN, MON, TUE, WED, THU, FRI, or SAT, for Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, and Saturday, respectively.

After how many days is the next Sunday (tomorrow or later)?

Constraints

S is SUN, MON, TUE, WED, THU, FRI, or SAT.

Input

Input is given from Standard Input in the following format:

S

Output

Print the number of days before the next Sunday.

Sample Input 1

SAT

Sample Output 1

1

It is Saturday today, and tomorrow will be Sunday.

Sample Input 2

SUN

Sample Output 2

7

It is Sunday today, and seven days later, it will be Sunday again.



Sample input:
SAT


Sample output:
1

Submission status: Wrong Answer

Solution code:
z=['SAT','SUN','MON','TUE','WED','THU','FRI']
x=['Saturday','Sunday','Monday','Tuesday','Wednesday','Thursday','Friday']
b=['tomorrow','two','three','four','five','six','seven']
c=input()
v=z.index('SUN')-z.index(c)
if v <0:
    v=7+v
elif v==0:
     v=7 
print(v)     
print('It is %s today,'%(x[z.index(c)])+'and %s'%(b[v-1]),end='')
if v==1:
    print(' will be Sunday')
else:
    print(' days later, it will be Sunday again')

Submission status: Wrong Answer

Solution code:
s=str(input())
if s=="SAT":
    print("1\ntoday is",s,"tomorrow is sunday")
elif s=="MON":
    print("7\ntoday is",s,"after 7 days is sunday")
elif s=="TUE":
    print("6\ntoday is",s,"after 6 days is sunday")
elif s=="WED":
    print("5\ntoday is",s,"after 5 days is sunday")
elif s=="THU":
    print("4\ntoday is",s,"after 4 days is sunday")
elif s=="FRI":
    print("3\ntoday is",s,"after 3 days is sunday")
elif s=="SUN":
    print("7\ntoday is",s,"after 7 days is sunday")

Submission status: Wrong Answer

Solution code:
S = input()

if S == "SUN": print(7)
if S == "MUN": print(6)
if S == "TUE": print(5)
if S == "WED": print(4)
if S == "THU": print(3)
if S == "FRI": print(2)
if S == "SAT": print(1)

Submission status: Wrong Answer

Solution code:
S = input()
if 'M' in S:
    print(6)
elif 'N':
    print(7) 
elif 'H' in S:
    print(3)
elif 'U' in S:
    print(5)
elif 'W' in S:
    print(4)
elif 'F' in S:
    print(2)
elif 'A' in S:
    print(1)

Submission status: Wrong Answer

Solution code:
s = str(input())
 
if s == "SUN":
  print("7")
elif s == "MON":
  print("6")
elif s == "TUE":
  print("5")
elif s == "WED":
  print("4")
elif s == "THU":
  print("3")
elif s == "FRY":
  print("2")
elif s == "SAT":
  print("1")

Submission status: Wrong Answer

Solution code:
print(['MON','TUE','WED','THU','FRI','SAT','SUN'].index(input())+1)

Submission status: Wrong Answer

Solution code:
# coding: UTF-8
import sys
#sys.setrecursionlimit(n)
import heapq
import re
import bisect
import random
import math
import itertools
from collections import defaultdict, deque
from copy import deepcopy
from decimal import *

readl= lambda: list(map(int, sys.stdin.readline().split()))
readt= lambda: tuple(map(int, sys.stdin.readline().split()))
read = lambda: sys.stdin.readline().rstrip()
readi = lambda: int(read())
readmi = lambda: map(int, sys.stdin.readline().split())
readms = lambda: map(str, sys.stdin.readline().split())

s = input()
l = {"MON":1,"TUE":1,"WED":3,"THU":4,"FRI":5,"SAT":6, "SUN":7}
print(7 - (l[s] % 7))

Submission status: Wrong Answer

Solution code:
S=input()

A=['SAT','FRI','TUE','WED','THU','MON','SUN']

print(A.index(S)+1)

Submission status: Wrong Answer

Solution code:
dic = {1:'SAT', 2:'FRI', 3:'THU', 4:'WED', 5:'TUE', 6:'MON', 7:'SUN'}
a = input()

if a in dic:
  print(dic[a])

Submission status: Wrong Answer

Solution code:
Day = ["MON","TUE","WED","THU","FRI","SAT","SUN"]

today = input()

print(6-Day.index(today))

Submission status: Wrong Answer

Solution code:
S = input()
L = ['SAT', 'FRi', 'THU', 'WED', 'TUE', 'MON', 'SUN']

for i in (range(len(L))):
          if S == L[i]:
             print(i+1)

Submission status: Wrong Answer

Solution code:
date = input()

List = ['SAT', 'MON', 'TUE', 'WED', 'THU', 'FRI', 'SUN']

for i in range(len(List)):
    if List[i] == date:
        print(i+1)

Submission status: Wrong Answer

Solution code:
date = input()

List = ['SAT', 'MON', 'TUE', 'WED', 'THU', 'FRI', 'SUN']

for i in range(len(List)):
    if date == List[i]:
        print(i+1)

Submission status: Wrong Answer

Solution code:
date = str(input())

if date == 'SUN':
    num = 7
if date == 'SAT':
    num = 6
if date == 'FRI':
    num = 5
if date == 'THU':
    num = 4
if date == 'WED':
    num = 3
if date == 'TUE':
    num = 2
if date == 'MON':
    num = 1

print(7 - num)

Submission status: Wrong Answer

Solution code:
s = input()

if s == 'SUN':
    print(7)
elif s == 'MON':
    print(6)
elif s == 'THU':
    print(5)
elif s == 'WED':
    print(4)
elif s == 'THU':
    print(3)
elif s == 'FRI':
    print(2)
else:
    print(1)

Submission status: Wrong Answer

Solution code:
D = {"SUN": "MON", "MON": "TUE", "TUE": "WED",
     "WED": "THU", "THU": "FRI", "FRI": "SAT", "SAT": "SUN"}
S = input()
print(D[S])

Submission status: Wrong Answer

Solution code:
S = str(input())
weekdays = ['SAT', 'FRI', 'THU', 'WED', 'TUE', 'MON', 'SUN']
print(weekdays.index('WED') + 1)

Submission status: Wrong Answer

Solution code:
li = ['SAT','FRI','THU','WED','TUE','MON','SUN']
x = input()
print(li.index(x))

Submission status: Wrong Answer

Solution code:
S = input()
weekly = ["SUN", "MON", "TUE", "WED", "THU", "FRI", "SAT"]
print( (7 - weekly.index(S)) % 7 )

Submission status: Wrong Answer

Solution code:
S = input()
if S == "SUN":
        print(7)
if S == "MON":
        print(6)
if S == "TUE":
        print(5)
if S == "WED":
        print(4)
if S == "THU":
        print(3)
if S == "FRY":
        print(2)
if S == "SAT":
        print(1)

Submission status: Wrong Answer

Solution code:
a = input()
if a == 'SUN':
  print(7)
elif a == 'MUN':
  print(6)
elif a=='TUE':
  print(5)
elif a=='WEN':
  print(4)
elif a=='THU':
  print(3)
elif a=='FRI':
  print(2)
elif a=='SAT':
  print(1)

Submission status: Wrong Answer

Solution code:
dic = {
        "SUN":0,
        "MON":6,
        "TUE":5,
        "WED":4,
        "THU":3,
        "FRI":2,
        "SAT":1,
        }

week = input()
print(dic[week])

Submission status: Wrong Answer

Solution code:
S = input()

if S == 'SUN':
    print(7)
elif S == 'MON':
    print(6)
elif S == 'THE':
    print(5)
elif S == 'WED':
    print(4)
elif S == 'THU':
    print(3)
elif S == 'FRI':
    print(2)
elif S == 'SAT':
    print(1)

Submission status: Wrong Answer

Solution code:
S = input()

if S=="SAT":
    print(1)
elif S=="FRI":
    print(2)
elif S=="THU":
    print(3)
elif S=="WEN":
    print(4)
elif S=="TUE":
    print(5)
elif S=="MON":
    print(6)
elif S=="SUN":
    print(7)

Submission status: Wrong Answer

Solution code:
s = input()

if s == 'SUN':
    print(7)
elif s == 'MON':
    print(6)
elif s == 'tue':
    print(5)
elif s == 'WED':
    print(4)
elif s == 'THU':
    print(3)
elif s == 'FRI':
    print(2)
elif s == 'SAT':
    print(1)

Submission status: Wrong Answer

Solution code:
D=['SUN','MON','TUE','WED','THU','FRI','SAT']
S = str(input())
for i in range(7):
    if S==D[i]:
     print(7-i)
    break

Submission status: Wrong Answer

Solution code:
td = input()
wd = ["SUN", "MON", "TUE", "WED", "THU", "FRI", "SAT"]

if td == "SUN":
  print(7)
else:
  print(wd.index(td))

Submission status: Wrong Answer

Solution code:
def calc_aft(ystr):
    youbi = ['SUN','MON','TUE','WED','THU','FRI','SAT']
    if(ystr in youbi):
        return 7-youbi.index(ystr)
    else:
        return

calc_aft(input())

Submission status: Wrong Answer

Solution code:
def calc_aft(ystr):
    youbi = ['SUN','MON','TUE','WED','THU','FRI','SAT']
    return 7-youbi.index(ystr)

calc_aft(input())

Submission status: Wrong Answer

Solution code:
List = ['SUN','MON','TUE','WED','THU','FRI','SAT']
s= input()
ans = List.index(s)
if ans ==6:
  print('SUN')
  exit()
else:
  print(List[ans+1])
  exit()

Submission status: Wrong Answer

Solution code:
def main():
  S=input()
  SUN=7
  MON=6
  TUE=5
  WED=4
  THU=3
  FRI=2
  SAT=1
  print(S)
main()

Submission status: Wrong Answer

Solution code:
def main():
  SUN=7
  MON=6
  TUE=5
  WED=4
  THU=3
  FRI=2
  SAT=1
  S=input()
  print(S)
main()

Submission status: Wrong Answer

Solution code:
S=input()
if S=="SUN":
  print(7)
elif S=="MON":
  print(6)
elif S=="TUE":
  print(5)
elif S=="Wed":
  print(4)
elif S=="THU":
  print(3)
elif S=="FRI":
  print(2)
elif S=="SAT":
  print(1)

Submission status: Wrong Answer

Solution code:
S=input()
if S=="SUN":
  print("0")
elif S=="MON":
  print("1")
elif S=="TUE":
  print("2")
elif S=="Wed":
  print("3")
elif S=="THU":
  print("4")
elif S=="FRI":
  print("5")
elif S=="SAT":
  print("6")

Submission status: Wrong Answer

Solution code:
import sys
 
day = sys.stdin.read().strip()
 
days = ['MON', 'TUE', 'WED', 'THU', 'FRI', 'SAT', 'SUN']
day_index = days.index(day)
 
print(6 - day_index)

Submission status: Wrong Answer

Solution code:
S = input()

if S =="SUN":
    print("MON")

elif S =="MON":
    print("TUE")
    
elif S =="TUE":
    print("WED")

elif S =="WED":
    print("THU")
    
elif S =="THU":
    print("FRI")
    
elif S =="FRI":
    print("SAT")

else:
    print("SUN")

Submission status: Wrong Answer

Solution code:
S = str(input())
week = ["SUN", "MON", "TUE", "WED", "THU", "FRI", "SAT"]
print(7 - week.index(S) - 1)

Submission status: Wrong Answer

Solution code:
a=input()
ans=0
if a=='SUN':
    a=7
elif a=='MON':
    a=6
elif a=='TUE':
    a=5
elif a=='WED':
    a=4
elif a=='THU':
    a=3
elif a=='FRI':
    a=2
else:
    a=='SAT'

print(a)

Submission status: Wrong Answer

Solution code:
S = input()
if S == 'SAT':
  print(1)
elif S == 'FRI':
  print(2)
elif S == 'THR':
  print(3)
elif S == 'WED':
  print(4)
elif S == 'TUE':
  print(5)
elif S == 'MON':
  print(6)
elif S == 'SUN':
  print(7)

Submission status: Wrong Answer

Solution code:
S = input()
if S is 'SAT':
  print(1)
elif S is 'FRI':
  print(2)
elif S is 'THR':
  print(3)
elif S is 'WED':
  print(4)
elif S is 'TUE':
  print(5)
elif S is 'MON':
  print(6)
elif S is 'SUN':
  print(7)

Submission status: Wrong Answer

Solution code:
S = ["MON", "TUE", "WED", "THU", "FRI", "SAT", "SUN"]
s = input()
result = abs(S.index(s)-S.index("SUN"))
print(result)

Submission status: Wrong Answer

Solution code:
D_dict = {}
D_dict['SUN'] = 7
D_dict['MON'] = 6
D_dict['TUE'] = 5
D_dict['WED'] = 4
D_dict['THU'] = 3
D_dict['FRI'] = 2
D_dict['SAT'] = 1

S = input()
D_dict[S]

Submission status: Wrong Answer

Solution code:
w = "SUN,MON,TUE,WED,THU,FRI,SAT".split(',')
s = input()
print(w[(w.index(s)+1)%7])

Submission status: Wrong Answer

Solution code:
num = {'SUN':0,'MON':1,'TUE':2,'WED':3,'THU':4,'FRI':5,'SAT':6}
s = input()
print(num[s])

Submission status: Wrong Answer

Solution code:
dist = {"MON":0,"TUE":1,"WED":2,"THU":3,"FRI":4,"SAT":5,"FRI":6,"SUN":7}
i = str(input())
if i == "SUN":
  print(7)
else:
  print(dist["SUN"]-dist[i])

Submission status: Wrong Answer

Solution code:
dist = {"MON":0,"TUE":1,"WED":2,"THU":3,"FRI":4,"SAT":5,"FRI":6,"SUN":7}
i = str(input())
print(dist[i]-dist["SUN"])

Submission status: Wrong Answer

Solution code:
dist = {"MON":0,"TUE":1,"WED":2,"THU":3,"FRI":4,"SAT":5,"FRI":6,"SUN":7}
i = input()
print(dist[i]-dist["SUN"])

Submission status: Wrong Answer

Solution code:
s = input()

if s=='MON':
    print(6)
elif s=='TUE':
    print(5)
elif s=='WED':
    print(4)
elif s=='THU':
    print(3)
elif s=='FRI':
    print(2)
elif s=='SAT':
    print(1)

Submission status: Wrong Answer

Solution code:
s = str(input())

if s == 'SUN':
    print(7)
elif s == 'SAT':
    print(6)
elif s == 'FRI':
    print(5)
elif s == 'THU':
    print(4)
elif s == 'WED':
    print(3)
elif s == 'TUE':
    print(2)
else:
    print(1)

Submission status: Wrong Answer

Solution code:
s=input()
day=["SUN","MON","TUE","WED","THU","FRI","SAT"]
for i in range(7):
  if s==day[i]:
    if i==0:
      print(7)
    else:
      print(i)

Submission status: Wrong Answer

Solution code:
day = input()

if day == "SUN":
    print(0)
elif day == "MON":
    print(6) 
elif day == "TUE":
    print(5)
elif day == "WED":
    print(4)
elif day == "THU":
    print(3)
elif day == "FRI":
    print(2)
else:
    print(1)

Submission status: Wrong Answer

Solution code:
list =['SUN','MON','TUE','WED','THU','FRI','SAT']
i = input()
s = list.index(i)
if s == 0:
  print('7')
else:
  print(s)

Submission status: Wrong Answer

Solution code:
s = str(input('曜日を入力：'))
  
if s == 'SAT':
  print('1')
  
elif s == 'FRI':
  print('2')
  
elif s == 'THU':
  print('3')
  
elif s == 'WED':
  print('4')

elif s == 'TUE':
  print('5')
  
elif s == 'MON':
  print('6')

else:
  print('7')

Submission status: Wrong Answer

Solution code:
s = str(input('曜日を入力：'))

if s == 'SUN':
  print('7')
  
elif s == 'SAT':
  print(1)
  
elif s == 'FRI':
  print(2)
  
elif s == 'THU':
  print(3)
  
elif s == 'WED':
  print(4)

elif s == 'TUE':
  print(5)
  
elif s == 'MON':
  print(6)

Submission status: Wrong Answer

Solution code:
def cant_wait (): 
    dzien = input()
    dni_tygodnia = ['SUN', 'MON', 'TUE', 'WED', 'THU', 'FRI', 'SAT']
    for i in range(len(dni_tygodnia)): 
        if dni_tygodnia[i]== dzien: 
            return len(dni_tygodnia) - i
        
cant_wait()

Submission status: Wrong Answer

Solution code:
s = str(input('曜日を入力：'))

if s == 'SUN':
  print('7')
  
if s == 'SAT':
  print(1)
  
if s == 'FRI':
  print(2)
  
if s == 'THU':
  print(3)
  
if s == 'WED':
  print(4)

if s == 'TUE':
  print(5)
  
if s == 'MON':
  print(6)

Submission status: Wrong Answer

Solution code:
s=input()
a=["MON","TUE","WED","THU","FRI","SAT","SUN"]
i=0

while i<len(a):
	if a[i]==s:
		ans=6-i
		break
	i+=1
	
print(ans)

Submission status: Wrong Answer

Solution code:
l=("SUN","MON","TUE","WED","THU","FRI","SAT")
print(8-l.index(input()))

Submission status: Wrong Answer

Solution code:
l=("SUN","MON","TUE","WED","THU","FRI","SAT","SUN")
print(l[l.index(input())+1])

Submission status: Wrong Answer

Solution code:
S = input()

day =["SUN","MON","TUE","WED","THU","FRI","SAT" ]
counter = 0

for i in day:
  if i == S:
    print(counter)
  counter = counter + 1

Submission status: Wrong Answer

Solution code:
s = input()
if s == "SUN":
    print(7)
elif s == "NON":
    print(6)
elif s == "TUE":
    print(5)
elif s == "WED":
    print(4)
elif s == "THU":
    print(3)
elif s == "FRI":
    print(2)
elif s == "SAT":
    print(1)

Submission status: Wrong Answer

Solution code:
s = input()
if s == "SUN":
    print("7")
elif s == "NON":
    print("6")
elif s == "TUE":
    print("5")
elif s == "WED":
    print("4")
elif s == "THU":
    print("3")
elif s == "FRI":
    print("2")
elif s == "SAT":
    print("1")

Submission status: Wrong Answer

Solution code:
S=input()
S_dic={"SUN":7,"MON":1,"TUE":2,"WED":3,"THU":4,"FRI":5,"SAT":6}
print(7-S_dic[S])

Submission status: Wrong Answer

Solution code:
S = input()

s = {"SUN":7, "MON":1, "TUE":2, "WED":3, "THU":4, "FRI":5, "SAT":6}

print(s[S])

Submission status: Wrong Answer

Solution code:

def main(S):
    res = {v: k for k, v in enumerate('SAT FRI THU WED TUE MON SUN'.split(' '))}[S] + 1
    print(res)


if __name__ == "__main__":
    S = input('>')
    main(S)

Submission status: Wrong Answer

Solution code:
S=input()
l=["","SAT","FRI","THU","WED","TUE","MON","SUN"]
for i in range(1,7):
  if l[i]==S:
    print(i)

Submission status: Wrong Answer

Solution code:
how_days_until_sun = {"SUN":0,"MON":6,"TUE":5,"WED":4,"THU":3,"FRI":2,"SAT":1}
i = input()
print(how_days_until_sun[i])

Submission status: Wrong Answer

Solution code:
s=input()
if s[0]=="S" or s[0]=="T":
  if s[1]=="U":
    print('5')
  elif s[2]=='U':
    print('3')
  elif s[2]=='T':
    print('1')
  else:
    print('7')
else:
  if s[1]=='R':
    print('2')
  elif s[1]=='O':
    print('6')
  else:
    print('4')

Submission status: Wrong Answer

Solution code:
s=input()
if s[0]=="S" or s[0]=="T":
  if s[2]=="U":
    print('5')
  elif s[2]=='E':
    print('3')
  elif s[2]=='T':
    print('1')
  else:
    print('7')
else:
  if s[1]=='R':
    print('2')
  elif s[1]=='O':
    print('6')
  else:
    print('4')

Submission status: Wrong Answer

Solution code:
s=input()
if s[0]=="S" or s[0]=="T":
  if s[1]=="U":
    print('3')
  elif s[2]=='E':
    print('5')
  elif s[2]=='T':
    print('1')
  else:
    print('7')
else:
  if s[1]=='R':
    print('2')
  elif s[1]=='O':
    print('6')
  else:
    print('4')

Submission status: Wrong Answer

Solution code:
s=input()
if s[0]=="S" or s[0]=="T":
  if s[2]=="U":
    print('3')
  elif s[1]=='E':
    print('4')
  elif s[2]=='T':
    print('1')
  else:
    print('7')
else:
  if s[1]=='R':
    print('2')
  elif s[1]=='O':
    print('6')
  else:
    print('5')

Submission status: Wrong Answer

Solution code:
s=input()
if s[0]=="S" or s[0]=="T":
  if s[1]=="U":
    print('3')
  elif s[1]=='E':
    print('4')
  elif s[2]=='T':
    print('1')
  else:
    print('7')
else:
  if s[1]=='R':
    print('2')
  elif s[1]=='O':
    print('6')
  else:
    print('5')

Submission status: Wrong Answer

Solution code:
s=input()
if s[0]=="S" or s[0]=="T":
  if s[2]=="U":
    print('3')
  elif s[2]=='E':
    print('4')
  elif s[2]=='T':
    print('1')
  else:
    print('7')
else:
  if s[1]=='R':
    print('2')
  elif s[1]=='O':
    print('6')
  else:
    print('5')

Submission status: Wrong Answer

Solution code:
S = input('enter')
day ={
'SUN':7,
'MON':6,
'TUE':5,
'WED':4,
'THU':3,
'FRI':2,
'SAT':1,
}

print(day[S])

Submission status: Wrong Answer

Solution code:
a=input()
if a=="SUN":
    print(7)
elif a=="MON":
    print(6)
elif a=="TUE":
    print(5)
elif a=="WED":
    print(4)
elif a=="MHU":
    print(3)
elif a=="FRI":
    print(2)
elif a=="SAT":
    print(1)

Submission status: Wrong Answer

Solution code:
s = input()

if s == 'SAT':
    print(1)
elif s == 'FRI':
    print(2)
elif s == 'THU':
    print(3)
elif s == 'WED':
    print(4)
elif s == 'THE':
    print(5)
elif s == 'MON':
    print(6)
elif s == 'SUN':
    print(7)

Submission status: Wrong Answer

Solution code:
s = input()

if s == 'SAT':
    print(1)
elif s == 'FRI':
    print(2)
elif s == 'THU':
    print(3)
elif s == 'WED':
    print(4)
elif s == 'THU':
    print(5)
elif s == 'MON':
    print(6)
elif s == 'SUN':
    print(7)

Submission status: Wrong Answer

Solution code:
s = input("曜日を入力してください:")
a = s

if a == "SUN":
    print("7")
elif a == "MON":
    print("6")
elif a == "TUE":
    print("5")
elif a == "WED":
    print("4")
elif a == "THU":
    print("3")
elif a == "FRI":
    print("2")
elif a == "SAT":
    print("1")

Submission status: Wrong Answer

Solution code:
s = input("曜日を入力してください:")
a = s
print (a)
if a == "SUN":
    print("7")
elif a == "MON":
    print("6")
elif a == "TUE":
    print("5")
elif a == "WED":
    print("4")
elif a == "THU":
    print("3")
elif a == "FRI":
    print("2")
elif a == "SAT":
    print("1")

Submission status: Wrong Answer

Solution code:
s = input("曜日を入力してください:")
a = s
print (a)
if a == "SUN":
    print("今日は日曜日です。よって、次の日曜日は7日後です。")
elif a == "MON":
    print("今日は月曜日です。よって、次の日曜日は6日後です。")
elif a == "TUE":
    print("今日は火曜日です。よって、次の日曜日は5日後です。")
elif a == "WED":
    print("今日は水曜日です。よって、次の日曜日は4日後です。")
elif a == "THU":
    print("今日は木曜日です。よって、次の日曜日は3日後です。")
elif a == "FRI":
    print("今日は金曜日です。よって、次の日曜日は2日後です。")
elif a == "SAT":
    print("今日は土曜日です。よって、次の日曜日は1日後です。")

Submission status: Wrong Answer

Solution code:
s = input()
if s == "SUN":
  print(0)
if s == "MON":
  print(6)
if s == "TUE":
  print(5)
if s == "WED":
  print(4)
if s == "THU":
  print(3)
if s == "FRI":
  print(2)
if s == "SAT":
  print(1)

Submission status: Wrong Answer

Solution code:
s = input()
if s == "SUN":
  print(0)
if s == "MON":
  print(6)
if s == "TUE":
  print(5)
if s == "WED":
  print(4)
if s == "THU":
  print(3)
if s == "FRI":
  print(2)
if s == "SUT":
  print(1)

Submission status: Wrong Answer

Solution code:
S = input()
day = ['SUN','MON','TUE','WED','THU','FRI','SAT']
for i in day:
  if i == S:
    print(day.index(i) % 7 + 1)
    break

Submission status: Wrong Answer

Solution code:
d = ["-","SAT","FRI","THU","WED","TUR","MON","SUN"]
S = input()
for n,s in enumerate(d):
    if s == S:
        print(n)

Submission status: Wrong Answer

Solution code:
arg1 = input().strip()

if arg1 == "SUN":
    print("0")
elif arg1 == "MON":
    print("6")
elif arg1 == "TUE":
    print("5")
elif arg1 == "WED":
    print("4")
elif arg1 == "THU":
    print("3")
elif arg1 == "FRI":
    print("2")
elif arg1 == "SAT":
    print("1")
elif arg1 == "sample_SUN":
    print("0")

Submission status: Wrong Answer

Solution code:
arg1 = input().strip()

if arg1 == "SUN":
    print("0")
elif arg1 == "MON":
    print("6")
elif arg1 == "TUE":
    print("5")
elif arg1 == "WED":
    print("4")
elif arg1 == "THU":
    print("3")
elif arg1 == "FRI":
    print("2")
elif arg1 == "SAT":
    print("1")

Submission status: Wrong Answer

Solution code:

s=input()

if s == 'SUN':
    print('7')
elif s == 'MON':
    print('6')
elif s == 'TUE':
    print('5')
elif s == 'WED':
    print('4')
elif s == 'THR':
    print('3')
elif s == 'FRI':
    print('2')
elif s == 'SAT':
    print('1')

Submission status: Wrong Answer

Solution code:
S = input()

dict = {
  'MON': 1,
  'TUE': 2,
  'WED': 3,
  'THU': 4,
  'FRI': 5,
  'SAT': 6,
  'SUN': 7
}

print(dict['SUN'] - dict[S])

Submission status: Wrong Answer

Solution code:
wd = {
  "SUN":("日曜日","7"),
  "MON":("月曜日","6"),
  "TUE":("火曜日","5"),
  "WED":("水曜日","4"),
  "THU":("木曜日","3"),
  "FRI":("金曜日","2"),
  "SAT":("土曜日","1")
}
line = input()

print("今日は" + wd[line][0] + "です。よって、次の日曜日は" + wd[line][1] +"日後です")

Submission status: Wrong Answer

Solution code:
s = input()
if s == 'SUN':
  s = 0
elif s == 'MON':
  s = 6
elif s == 'TUE':
  s = 5
elif s == 'WED':
  s = 4
elif s =='THU':
  s = 3
elif s == 'FRI':
  s = 2
elif s == 'SAT':
  s = 1
print(s)

Submission status: Wrong Answer

Solution code:
s = input()
if s == 'SUN':
  s = 0
elif s == 'MON':
  s = 1
elif s == 'TUE':
  s = 2
elif s == 'WED':
  s = 3
elif s =='THU':
  s = 4
elif s == 'FRI':
  s = 5
elif s == 'SAT':
  s = 6
print(s)

Submission status: Wrong Answer

Solution code:
days = ['SUN','MON','TUE','WED','THU','FRI','SAT']
S = input()
if days.index(S) == 0:
  print(7)
else:
  print(days.index(S))

Submission status: Wrong Answer

Solution code:
A = ["SUN", "MON", "TUE", "WED", "THU", "FRi", "SAT"]
S = input()
cnt = 0
for i in range(7):
    if A[i] == S:
        break;
    cnt += 1
print(7 - cnt)

Submission status: Wrong Answer

Solution code:
STR = input().split()

print(STR)

Submission status: Wrong Answer

Solution code:
s = str(input())
  
if s == 'SAT':
    print('1')
elif s == 'SUN':
    print('7')
elif s == 'MON':
    print('6')
elif s == 'TUE':
    print('5')
elif s == 'WED':
    print('4')
elif s == 'THU':
    print('3')
elif s == 'FR':
    print('2')

Submission status: Wrong Answer

Solution code:
days = ['SUN', 'MON', 'TUE', 'WED', 'THU', 'FRI', 'SAT']

days = {day:i+1 for i, day in enumerate(days)}

print(days[input()])

Submission status: Wrong Answer

Solution code:
S = str(input())

if S =="SUN":
	print(7)
if S == "MON":
	print(6)
elif S =="TUE":
	print(5)
elif S =="WED":
	print(4)
elif S =="THU":
	print(3)
elif S =="FRI":
	print(2)
else:
	print(1)

Submission status: Wrong Answer

Solution code:
i = input()

d = {'SUN':0,
     'SAT':1,
     'FRI':2,
     'THU':3,
     'WED':4,
     'TUE':5,
     'MON':6,}

print(d[i])

Submission status: Wrong Answer

Solution code:
N= 3
S= "ABCDEFGHIJKLMNOPQRSTUVWXYZ"

N = int(N)
Len = len(S)#文字数の長さ
LIST = list(S)#文字列を1文字ごとに分割する。

ANSWER = ""
#リストの中身をループ
for SS in LIST:
    NUNBER = ord(SS)#アスキーコードを出す組み込み関数:1文字しか対応していない
    NUNBER = NUNBER -65#アスキーコードからアルファベット順に変更
    AFFTER = NUNBER + N
    LAST  = AFFTER % 26
    LAST  = chr(LAST+65)#アスキーコードからアルファベットに戻す
    ANSWER = ANSWER + LAST
    
print(ANSWER)

Submission status: Wrong Answer

Solution code:
from sys import stdin

S = input()
Day =  ['SUN','SAT','FRI','THU','WED','TUE','MON']
print(Day.index(S))

Submission status: Wrong Answer

Solution code:
S=input()
if S =="SUN":
    print(7)
if S =="MON":
    print(6)
if S =="THU":
    print(5)
if S =="WED":
    print(4)
if S =="THU":
    print(3)
if S =="FRI":
    print(2)
if S =="SAT":
    print(1)

Submission status: Wrong Answer

Solution code:
S = input()
print(S)

Submission status: Wrong Answer

Solution code:
s=input()
if s=="MUN":
  print(6)
elif s=="TUE":
  print(5)
elif s=="WED":
  print(4)
elif s=="THU":
  print(3)
elif s=="FRI":
  print(2)
elif s=="SAT":
  print(1)
else:
  print(7)

Submission status: Wrong Answer

Solution code:
S=input()
day=["","MON","TUE","WED","THU","FRI","SAT","SUN"]
print(7-day.index(S))

Submission status: Wrong Answer

Solution code:
S = input()

if S =="SUN":
    print(7)
elif S =="MON":
    print(6)
elif S =="TUE":
    print(5)
elif S =="WED":
    print(4)
elif S =="THU":
    print(3)
elif S =="RRI":
    print(2)
else:
    print(1)

Submission status: Wrong Answer

Solution code:
S = input()

if S =="SUN":
    print(7)
elif S =="MON":
    print(6)
elif S =="TUE":
    print(5)
elif S =="WED":
    print(4)
elif S =="THU":
    print(3)
elif S =="REI":
    print(2)
else:
    print(1)

Submission status: Wrong Answer

Solution code:
a = ["MON","TUE","WED","THU","FRI","SAT","SUN"][::-1]
S = input()
print(a.index(S))

Submission status: Wrong Answer

Solution code:
s=input()

if (s=='SAT'):
    print(1)
elif (s=='FRI'):
    print(2)
elif (s=='THU'):
    print(3)
elif (s=='WEB'):
    print(4)
elif (s=='TUE'):
    print(5)
elif (s=='MON'):
    print(6)
elif (s=='SUN'):
    print(7)

Submission status: Wrong Answer

Solution code:
S = input()
days = ["SUN", "MON", "TUE", "WED", "THU", "FRI", "SAT"]
days = days[::-1]
ix = days.index(S)
print((ix + 1) % 7)

Submission status: Wrong Answer

Solution code:
s = input()
if s == 'SUN':
	print('7')
elif s == 'MON':
	print('6')
elif s == 'THU':
	print('5')
elif s == 'WED':
	print('4')
elif s == 'TUE':
	print('3')
elif s == 'FRI':
	print('2')
elif s == 'SAT':
	print('1')

Submission status: Wrong Answer

Solution code:
s = input()
if s == 'SUN':
	print('7')
elif s == 'MON':
	print('6')
elif s == 'TUE':
	print('5')
elif s == 'WED':
	print('4')
elif s == 'TUE':
	print('3')
elif s == 'FRI':
	print('2')
elif s == 'SAT':
	print('1')

Submission status: Wrong Answer

Solution code:
dw = input()
dw_dictionary = {"SUN":7, "MON":6, "TUE":5, "WED":4, "THU":3, "FRI":2, "SAT":1}
dw_dictionary.get(dw)

Submission status: Wrong Answer

Solution code:
d = input()
ns = {'SAT': 1, 'FRI': 2, 'THU': 3, 'WED': 4, 'TUE': 5, 'MON': 6, 'SUN': 7}
ns[d]

Submission status: Wrong Answer

Solution code:
today = input()

if today == 'SUN' :
	print(today)
	ans = 7
if today == 'MON' :
	ans = 6
if today == 'TUE' :
	ans = 5
if today == 'WED' :
	ans = 4
if today == 'THU':
	ans = 3
if today == 'FRI' :
	ans = 2
if today == 'SAT' :
	ans = 1

print(ans)

Submission status: Wrong Answer

Solution code:
print("S")
S = input()
if S == "SUN":
 print("あと7日後です")

elif S == "MON":
 print("あと6日後です")

elif S == "TUE":
 print("あと5日後です")

elif S == "WED":
 print("あと4日後です")

elif S == "THU":
 print("あと3日後です")

elif S == "FRI":
 print("あと2日後です")

elif S == "SAT":
 print("あと1日後です")

Submission status: Wrong Answer

Solution code:
S=input()
if S is 'SUN':
    print(7)
elif S is 'MON':
    print(6)
elif S is 'TUE':
    print(5)
elif S is 'WED':
    print(4)
elif S is 'THU':
    print(3)
elif S is 'FRI':
    print(2)
elif S is 'SAT':
    print(1)

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python3
import sys, math, itertools, heapq, collections, bisect, copy
input = lambda: sys.stdin.buffer.readline().rstrip().decode('utf-8')
sys.setrecursionlimit(10**8)
inf = float('inf')
ans = count = 0

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python3
import sys, math, itertools, heapq, collections, string
input = lambda: sys.stdin.buffer.readline().rstrip().decode('utf-8')
sys.setrecursionlimit(10**8)
inf = float('inf')
ans = count = 0

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python3
import sys, math, itertools, heapq, collections, bisect, fractions
input = lambda: sys.stdin.buffer.readline().rstrip().decode('utf-8')
sys.setrecursionlimit(10**8)
inf = float('inf')
ans = count = 0

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python3
import sys, math, itertools, heapq, collections, bisect, fractions
input = lambda: sys.stdin.buffer.readline().rstrip().decode('utf-8')
sys.setrecursionlimit(10**8)
inf = float('inf')
ans = count = 0

Submission status: Wrong Answer

Solution code:
week=["SUN","MON","TUE","WED","THU","FRI","SAT"]
date=input()
for i in range(7):
	if week[i] == date:
		if i==0:
			print(0)
		else:	
			print(7-i)

Submission status: Wrong Answer

Solution code:
S = input()

if S == "SUM":
    print(7)

elif S == "MON":
    print(6)

elif S == "TUE":
    print(5)

elif S == "WED":
    print(4)

elif S == "THU":
    print(3)

elif S == "FRI":
    print(2)

else:
    print(1)

Submission status: Wrong Answer

Solution code:
week = ["SUN","MON","TUE","WED","THU","FRI","SAT"]
print(7 - week.index("SAT"))

Submission status: Wrong Answer

Solution code:
a=input()
if a == "SUN":
  print(7)
elif a== "MON":
  print(6)
elif a =="TUE":
  print(5)
elif a =="WEN":
  print(4)
elif a =="THU":
  print(3)
elif a =="FRI":
  print(2)
else:
  print(1)

Submission status: Wrong Answer

Solution code:
print(["SAT","MON","TUE","WED","THU","FRI","SUN"].index(input())+1)

Submission status: Wrong Answer

Solution code:
weekDic = {'SUN':7, 'MON':6, 'TUE':5 ,'WED':4, 'THU':3, 'FRI':2 ,'SAT':1}
S = str(input())
weekDic[S]

Submission status: Wrong Answer

Solution code:
def Holiday(s):
    days = ['SUN','MON','TUE','WED','THU','FRI','SAT']
    return -(days.index(s) - 7) if days.index(s)>=3 else days.index(s)

Submission status: Wrong Answer

Solution code:
def Holiday(s):
    days = ['SUN','MON','TUE','WED','THU','FRI','SAT']
    return -(days.index(s) - 7)


print(Holiday('SAT'))

Submission status: Wrong Answer

Solution code:

s = input()
week = ['SUN', 'MON', 'TUE', 'WED', 'THU', 'FRI', 'SAT']
for i in range(len(s)):
    if s == week[i]:
        print(7 - i)
        break

Submission status: Wrong Answer

Solution code:
day = input()

if day == "SUN":
    print("0")
elif day == "MON":
    print("6")
elif day == "TUE":
    print("5")
elif day == "WED":
    print("4")
elif day == "THU":
    print("3")
elif day == "FRI":
    print("2")
else:
    print("1")

Submission status: Wrong Answer

Solution code:
day = input()

if day == "SUN":
    print("0")
elif day == "MON":
    print("7")
elif day == "TUE":
    print("6")
elif day == "WED":
    print("5")
elif day == "MON":
    print("4")
elif day == "THU":
    print("3")
elif day == "FRI":
    print("2")
else:
    print("1")

Submission status: Wrong Answer

Solution code:
w = ['SAT', 'FRI', 'THU', 'WED', 'TUE', 'MON', 'SAN']
s = input()
for num, i in enumerate(w):
  if i == s:
    print(num+1)

Submission status: Wrong Answer

Solution code:
w = ['SAT', 'FRI', 'TUE', 'WED', 'THU', 'MON', 'SAN']
s = input()
for num, i in enumerate(w):
  if i == s:
    print(num+1)

Submission status: Wrong Answer

Solution code:
w = ['SAT', 'FRY', 'TUE', 'WED', 'THU', 'MON', 'SAN']
s = input()
for num, i in enumerate(w):
  if i == w:
    print(num+1)

Submission status: Wrong Answer

Solution code:
w = ['SAT', 'FRI', 'THU', 'WEB', 'TUE', 'MON', 'SUN']
s = input()
for num, i in enumerate(w):
  if i == s:
    print(num+1)

Submission status: Wrong Answer

Solution code:
day = input()
if day == "SUN":
  print("7")
elif day == "MON":
  print("1")
elif day == "TUE":
  print("2")
elif day == "WED":
  print("3")
elif day == "THU":
  print("4")
elif day == "FRI":
  print("6")
elif day == "SAT":
  print("7")
else:
  print(-1)