def decrypt(ciphertext, k): plaintext = "" for char in ciphertext: decrypted_char = chr(ord(char) - k) plaintext += decrypted_char return plaintext def main(): # 讀取輸入 ciphertext = input().strip() # 根據範例輸入和輸出推算出偏移量 K k = ord('1') - ord('*') # 49 - 42 = 7 # 解密 plaintext = decrypt(ciphertext, k) # 輸出結果 print(plaintext) if __name__ == "__main__": main()