結果

問題 No.536 人工知能
ユーザー sirao
提出日時 2017-07-12 18:29:11
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 30 ms / 1,000 ms
コード長 149 bytes
コンパイル時間 234 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,496 KB
最終ジャッジ日時 2024-10-07 16:45:33
合計ジャッジ時間 1,148 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 11
権限があれば一括ダウンロードができます

ソースコード

diff #

S = str(input())

word1 = S[0:-2]
word2 = S[-2]
word3 = S[-1]

if word2 == 'a' and word3 == 'i':
    print(word1 + 'AI')
else:
    print(S + '-AI')

0