#
# 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可
#
# 进行凯撒解密
# @param password string字符串 旺仔哥哥的密码
# @param n int整型 每个字符加密过程中错位的次数
# @return string字符串
#
class Solution:
    def decodeWangzai(self , password: str, n: int) -> str:
        # write code here
        ans = ''
        for c in password:
            ans += chr((ord(c) - ord('a') - n) % 26 + ord('a'))
        return ans