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:
s = input()

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

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")
elif S=="SAT":
    print("SUN")

Submission status: Wrong Answer

Solution code:
s=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=="THE":
    print(5)
elif s=="MON":
    print(6)

Submission status: Wrong Answer

Solution code:
S = input('曜日をSUN,MON,TUE,WED,THU,FRI,SATから入力 >>')
SUN = 7
MON = 6
TUE = 5
WED = 4
THU = 3
FRI = 2
SAT = 1
print('次の日曜日は{}日後です。'.format(S))

Submission status: Wrong Answer

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

print(days.index('SUN')-days.index(S))

Submission status: Wrong Answer

Solution code:
s = input()
arr = ["SUN","Mon","TUE","WED","THU","FRI","SAT"]
for i in range(7):
    if s==arr[i]:
        print(7-i)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
S=str(input())

if S=='SUN':
    print(int(7-0))
elif S=='MON':
    print(int(7-1))
elif S=='TUE':
    print(int(7-2))
elif S=='WEN':
    print(int(7-3))
elif S=='THU':
    print(int(7-4))
elif S=='FRY':
    print(int(7-5))
elif S=='SAT':
    print(int(7-6))

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 == "THU":
	print("2")
elif S == "SAT":
	print("1")

Submission status: Wrong Answer

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

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=="FRI":
    print(2)
else:
    print(1)

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=="FRI":
    print("2")
else:
    print("1")

Submission status: Wrong Answer

Solution code:
S = input()

if S == 'SUN':
  print(7)
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:
# 次の日曜日が何日後か出力

answer = input ()

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

Submission status: Wrong Answer

Solution code:
#146A

#1.入力をちゃんと受け取ること
s=input()
#2.結果を出力する
if s=='SUN' :
    print('7')
elif s=='MAN':
    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 == 'MON':
    print('6')
elif S == 'TUE':
    print('5')
elif S == 'WED':
    print('4')
elif S == 'TUR':
    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 == 'TUR':
    print('3')
elif S == 'FRI':
    print('2')
elif S == 'SAT':
    print('1')
else: print('Error')

Submission status: Wrong Answer

Solution code:
S = input()

if S == "SUN":
    print(7)
elif S == "MON":
    print(6)
elif S == "TRE":
    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:
#146A

# S(今日の曜日）：標準入力
# SはSUN,MON,TUE,WED,THU,FRI,SAT のいずれか
#　次の日曜日が何日後か、if-else
# 条件分岐その2：if-else
# 条件分岐その3：if-elif-else
# ある条件の時は○○,他の条件の時は△△

S = 'SAT'

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(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)
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 == "fri":
    print(2)
else:
    print(1)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
S = input()
print(S)
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)
else:
    print(1)

Submission status: Wrong Answer

Solution code:
S = 'SAT'
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)
else:
    print(1)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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 == '':
    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 == '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)
elif S == 'SUN':
    print(7)
else:
    print('曜日が無効です')

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')
elif S == 'SUN':
    print('7')
else:
    print('曜日が無効です')

Submission status: Wrong Answer

Solution code:
# 146a                                                                    
# 今日の曜日を表す文字列 S が与えられます。                                                  
# S は SUN,MON,TUE,WED,THU,FRI,SAT のいずれかであり、                               
# それぞれ日曜日、月曜日、火曜日、水曜日、木曜日、金曜日、土曜日を表します。                                   
# 次の日曜日 (あす以降) が何日後か求めてください。                                              
                                                                          
                                                                          
# S に入力されたSUN,MON,TUE,WED,THU,FRI,SAT を返す                                 
S = input()                                                               
                                                                          
                                                                          
                                                                          
# if文で入力に対応した答えを返す                                                        
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:
# 146a                                                                        
# 今日の曜日を表す文字列 S が与えられます。                                                      
# S は SUN,MON,TUE,WED,THU,FRI,SAT のいずれかであり、                                   
# それぞれ日曜日、月曜日、火曜日、水曜日、木曜日、金曜日、土曜日を表します。                                       
# 次の日曜日 (あす以降) が何日後か求めてください。                                                  
                                                                              
                                                                              
# S に入力されたSUN,MON,TUE,WED,THU,FRI,SAT を返す                                     
S = input()                                                                   
                                                                              
                                                                              
                                                                              
# if文で入力に対応した答えを返す                                                            
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)                                                                  
elif S == 'SAT':                                                              
    print(1)

Submission status: Wrong Answer

Solution code:
S = input()
wait_day = 0

if S == "SUN":
  wait_day = 6
elif S == "MON":
  wait_day = 6
elif S == "TUE":
  wait_day = 5
elif S == "WED":
  wait_day = 4
elif S == "THU":
  wait_day = 3
elif S == "FRI":
  wait_day = 2
elif S == "SAT":
  wait_day = 1

print(wait_day)

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 == ('FRY'):
    print(2)
elif S == ('SAT'):
    print(1)
else:
    print('入力に誤りがあります。SUN,MON,TUE,WED,THU,FRI,SATのいずれかを入力してください。')

Submission status: Wrong Answer

Solution code:
# A - Can't Wait for Holiday
# 曜日入力
S = input()

if S == 'SUN':
    ANSWER=7
elif S == 'MON':
    ANSWER=1
elif S == 'TUE':
    ANSWER=2
elif S == 'WED':
    ANSWER=3
elif S == 'THU':
    ANSWER=4
elif S == 'FRI':
    ANSWER=5
elif S == 'SAT':
    ANSWER=6

print(ANSWER)

Submission status: Wrong Answer

Solution code:
S = input('曜日を入力してね！ ')

if S == 'SUN':
    result = 7

elif S == 'MON':
    result = 6

elif S == 'TUE':
    result = 5

elif S == 'WED':
    result = 4

elif S == 'THU':
    result = 3

elif S == 'FRI':
    result = 2

elif S == 'SAT':
    result = 1

print(result)

Submission status: Wrong Answer

Solution code:
# A - Can't Wait for Holiday
# 曜日入力
S = input()

if S == 'SUN':
    print(7)
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)
else:
    print(6)

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('7')

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:
# A - Can't Wait for Holiday
# 曜日入力
S = input()

if S == 'SUN':
    print(7)
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:
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 == 'FRI':
    print(2)

if S == 'SUT':
    print(1)

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 == 'FRI':
    print('2')

if S == 'SUT':
    print('1')

Submission status: Wrong Answer

Solution code:
# A - Can't Wait for Holiday
# 曜日入力
S = input()

if S == 'SUN':
    print(7)
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:
# abc146_a
# 次の日曜日が何日後かを教えてください

# 1.入力をプログラムで扱えるように受け取ること
# 7 = 'SUN'
# 6 = 'MON'
# 5 = 'TUE'
# 4 = 'WED'
# 3 = 'THU'
# 2 = 'FRI'
# 1 = 'SUT'

week = input('曜日を入力してね！ ')

if week == 'SUN':
    print('7')

if week == 'MON':
    print('6')

if week == 'TUE':
    print('5')

if week == 'WED':
    print('4')

if week == 'THU':
    print('3')

if week == 'FRI':
    print('2')

if week == 'SUT':
    print('1')

Submission status: Wrong Answer

Solution code:
S = 'SUN'
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')
else:
    print('入力エラー')

Submission status: Wrong Answer

Solution code:
S = 'SUN'
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 = 'MON'
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 == "SUT":
  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)
elif S == "SUN":
  print(7)
else:
  print("入力内容が間違っています。")

Submission status: Wrong Answer

Solution code:
input_date_list = ['SUN', 'MON', 'TUE', 'WED', 'THU', 'FRI', 'SAT']
S = input()
today_date_list = ['日', '月', '火', '水', '木', '金', '土']
s1 = input_date_list.index(S)
today_date = (today_date_list[s1])
s2 = 7 - s1
print("今日は{0}曜日です。".format(today_date)+"次の日曜日は{0}日後です".format(s2))

Submission status: Wrong Answer

Solution code:
S = input()

if S == 'SUN':
    print('7')
if S == 'MOM':
    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(7)
elif s == 'MON':
    print(6)
elif s == 'TUE':
    print(5)
elif s == 'WED':
    print(4)
elif s == 'THU':
    print(3)
elif s == 'FDI':
    print(2)
elif s == 'SAT':
    print(1)

Submission status: Wrong Answer

Solution code:
l=['SUN', 'MON', 'TUE', 'WED', 'THU', 'FRI','SAT']
day=input()

diff=7-day.index(day)
print(diff)

Submission status: Wrong Answer

Solution code:
S = input()

days = ['MON', 'TUE', 'WED', 'THU', 'FRI', 'SAT', 'SUN']
print(6 - days.index(S))

Submission status: Wrong Answer

Solution code:
s=input()
dict1={7:'SUN',6:'MON',5:'TUE',4:'WED',3:'THU',2:'FRI',1:'SAT'}
keys = [k for k, v in dict1.items() if v == s]
print(keys)

Submission status: Wrong Answer

Solution code:
S = input('Day of the week')
print()
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('Day of the week')
print()
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('Day of the week')
print()
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 == 'FRI':
    print(2)
if S == 'SAT':
    print(1)

Submission status: Wrong Answer

Solution code:
S = input('week>')
print()
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 == 'FRI':
    print(2)
if S == 'SAT':
    print(1)

Submission status: Wrong Answer

Solution code:
import sys
input = sys.stdin.readline
s = input()
ans = 0
if s == 'SUN':
    ans = 7
elif s == 'MON':
    ans = 6
elif s == 'TUE':
    ans = 5
elif s == 'WED':
    ans = 4
elif s == 'THU':
    ans = 3
elif s == 'FRI':
    ans = 2
elif s == 'SAT':
    ans = 1
print(ans)

Submission status: Wrong Answer

Solution code:
import sys
input = sys.stdin.readline
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:
import sys
input = sys.stdin.readline
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 == 'FRI':
    print('2')
if s == 'SAT':
    print('1')

Submission status: Wrong Answer

Solution code:
import sys
input = sys.stdin.readline
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 == 'FRI':
    print(2)
if s == 'SAT':
    print(1)

Submission status: Wrong Answer

Solution code:
s=input()
if "M" in s:
    print("6")
elif "E" in s:
    print("5")
elif "D" in s:
    print("4")
elif "H" in s:
    print("3")
elif "F" in s:
    print("2")
elif "A" in s:
    print("1")
else:
    print("7")

Submission status: Wrong Answer

Solution code:
youbi = ['SUN','MON','TUE','WED','THU','FRI','SAT']
y = input()

for i in range(1, 7):
  if y == youbi[i]:
    print(7-i)

Submission status: Wrong Answer

Solution code:
S=str(input())
if S == "SUN":
    print("MON")
elif S=="MON":
    print("TUE")
elif S=="TUE":
    print("WED")
elif S=="WED":
    print("THU")
elif S=="FRI":
    print("SAT")
else:
    print("MON")

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:
day = ["SUN","MON","TUE","WED","THU","FRI","SAT"]

print(day[(day.index(input())+1)%7])

Submission status: Wrong Answer

Solution code:
l = ['MON','TUE','WED','THU','FRI','SAT','SUN']
s = input()

print(6 - l.index(s))

Submission status: Wrong Answer

Solution code:
s = input()
l = ['SUN', 'MON', 'TUE', 'WED', 'THU', 'FRI', 'SAT', 'SUN']

print(l[l.index(s) + 1])

Submission status: Wrong Answer

Solution code:
#k = int(input())
#s = input()
#a, b = map(int, input().split())
#s, t = map(str, input().split())
#l = list(map(int, input().split()))

s = input()
ans = 0
if s == "SUM":
    ans = 7
elif s == "MON":
    ans = 6
elif s == "TUE":
    ans = 5
elif s == "WED":
    ans = 4
elif s == "THU":
    ans = 3
elif s == "FRI":
    ans = 2
elif s == "SAT":
    ans = 1
print (ans)

Submission status: Wrong Answer

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

b=input()

print(6-a.index(b))

Submission status: Wrong Answer

Solution code:
s = input()

if s =="SAT":
    print(1)
elif s== "FRI":
    print(2)
elif s== "THE":
    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 == "SUN":
    print(7)
    exit()
ls = {"MON": 0, "TUE": 1, "WED": 3, "THU": 4, "FRI": 5, "SAT": 6, "SUN": 7}
print(7-ls[s])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys
base = ['SUN','MON','TUE','WED','THU','FRI','SAT']
S = input()

if not ( S in base ): sys.exit()

print(7 - base.index(S)) if S != 'SUN' else print(0)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
s = 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 == 'TUS':
    print(5)
elif s == 'MON':
    print(6)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
s = input()
ls = ['SUN','MON','TUE','WED','THU','FRI','SAT']
for i, x in enumerate(ls):
  if s == x:
    if i == 0:
      print(i)
    else:
      print(7-i)

Submission status: Wrong Answer

Solution code:
import sys


# input = sys.stdin.readline

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


if __name__ == "__main__":
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = ['SUN', 'MON', 'TUE', 'WED', 'THU', 'FRI',  'SAT', 'SUN']
y = x.index(input())
if (y == 0):
      print(7)
else:
      print(min(abs(7-y),abs(y)))

Submission status: Wrong Answer

Solution code:
x = ['SUN', 'MON', 'TUE', 'WED', 'THU', 'FRI',  'SAT', 'SUN']
y = x.index(input())
print(min(abs(7-y),abs(y)))

Submission status: Wrong Answer

Solution code:
x = ['SUN', 'MON', 'TUE', 'WED', 'THU', 'FRI',  'SAT', 'SUN']
y = x.index(input())
print(min(abs(6-y),abs(y)))

Submission status: Wrong Answer

Solution code:
l = ['SUN', 'MON', 'TUE', 'WED', 'THU', 'FRI', 'SAT']
s = input()
for i, day in enumerate(l):
    if day == s:
        if i == 0:
            print(7)
        else:
            print(i+1)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
day = ["SUN","MON","TUE","WED","THU","FRI","SAT"]
s = input()
print(6 - day.index(s) if day.index(s) != 0 else 7)

Submission status: Wrong Answer

Solution code:
S = input()

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys
from io import StringIO
import unittest
import os


# 実装を行う関数
def resolve():
    # 数値取得サンプル
    #   1行N項目 x, y = map(int, input().split())
    #   N行N項目 x = [list(map(int, input().split())) for i in range(n)]

    # 文字取得サンプル
    x = input()

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


# テストクラス
class TestClass(unittest.TestCase):
    def assertIO(self, assert_input, output):
        stdout, sat_in = sys.stdout, sys.stdin
        sys.stdout, sys.stdin = StringIO(), StringIO(assert_input)
        resolve()
        sys.stdout.seek(0)
        out = sys.stdout.read()[:-1]
        sys.stdout, sys.stdin = stdout, sat_in
        self.assertEqual(out, output)

    def test_input_1(self):
        test_input = """SAT"""
        output = """1"""
        self.assertIO(test_input, output)

    def test_input_2(self):
        test_input = """SUN"""
        output = """7"""
        self.assertIO(test_input, output)

    # 自作テストパターンのひな形(利用時は「tes_t」のアンダーバーを削除すること
    def tes_t_1original_1(self):
        test_input = """データ"""
        output = """データ"""
        self.assertIO(test_input, output)


# 実装orテストの呼び出し
if __name__ == "__main__":
    if os.environ.get("USERNAME") is None:
        # AtCoder提出時の場合
        unittest.main()

    else:
        # 自PCの場合
        unittest.main()

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 == 'TUE':
    print(5)
elif s == 'Mon':
    print(6)
elif s == 'SUN':
    print(7)

Submission status: Wrong Answer

Solution code:
def main():
    S = input()

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


if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
youbi=['MON','TUE','WED','THU','FRI','SAT','SUN']
s=input()
for i in range(len(youbi)):
  if s=='SUN':
    print(7)
    
  elif youbi[i]==s:
    print(6-i)

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()
elif(s == '4'):
    print()
elif(s == 'THU'):
    print(3)
elif(s == 'FRI'):
    print(2)
elif(s == 'SAT'):
    print(1)

Submission status: Wrong Answer

Solution code:
w = "SUN,MON,TUE,WED,THU,FRI,SAT".split(",")

S = input().strip()

for i, d in enumerate(w):
    if d == S:
        print(-i % 7)

Submission status: Wrong Answer

Solution code:
S = input()

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

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

Submission status: Wrong Answer

Solution code:
s = input()
if s == 'SUN':
    print(0)
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:
days = ['SUN', 'MON', 'TUE', 'WED', 'THU', 'FRI',  'SAT']
s = raw_input()
for j in range(len(days)):
	if days[j] == s: #raw_inpu
		break
d =0
while(days[j] != 'SUN'):
	j += 1
	j %= len(days)
	d += 1

print d

Submission status: Wrong Answer

Solution code:
print(10**9)

Submission status: Wrong Answer

Solution code:
s = input()

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

n = days_of_the_week.index(s)

if (n == 6):
  print(days_of_the_week[0])
else:
  print(days_of_the_week[n + 1])