<jupyter_start><jupyter_text>https://atcoder.jp/contests/abc154/tasks/abc154_a<jupyter_code>S,T=input().split()
A,B=map(int,input().split())
U=input()
print(A-1,B) if U==S else print(A,B-1)
S,T=input().split()
A,B=map(int,input().split())
U=input()
print(A-(U==S),B-(U==T))<jupyter_output>red blue
 3 4
 red<jupyter_text>https://atcoder.jp/contests/abc153/tasks/abc153_a<jupyter_code>H,A=map(int,input().split())
print(H//A if H%A==0 else H//A+1)<jupyter_output>10000 1<jupyter_text>https://atcoder.jp/contests/abc152/tasks/abc152_a<jupyter_code>H,A=input().split()
print('Yes' if H==A else 'No')<jupyter_output>3 2<jupyter_text>https://atcoder.jp/contests/abc151/tasks/abc151_a<jupyter_code>str='abcdefghijklmnopqrstuvwxyz'
str[0]
str.index('b')
C=input()
str='abcdefghijklmnopqrstuvwxyz'
print(str[str.index(C)+1])<jupyter_output>y<jupyter_text>ord()とchr()を用いて実装してる人がいたord()は文字からUnicodeコードポイントへchr()はUnicodeコードポイントから文字へそれぞれ変換する<jupyter_code>ord('a')
hex(ord('a'))
chr(97)
chr(0x61)
print(98==0x62)
C=input()
print(chr(ord(C)+1))<jupyter_output>a<jupyter_text>リスト操作あれこれ<jupyter_code>nums=list(map(int,input().split()))
nums
#長さ
len(nums)
type(nums)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.20865139949109415, 'fraction_numerical': 0.043256997455470736, 'mean_word_length': 12.11111111111111, 'pattern_counts': {'":': 0, '<': 20, '<?xml version=': 0, '>': 20, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '6', 'dir': 'jupyter-structured-clean-dedup', 'id': '194117', 'license': 'MIT', 'n_tokens_mistral': 637, 'n_tokens_neox': 594, 'n_words': 43, 'path': 'old/0419.ipynb', 'repo_name': 'Rha1234/atcoder', 'size': '1179'}