let arr = readline().split('')
let obj = {
    'abc': 2,
    'def': 3,
    'ghi': 4,
    'jkl': 5,
    'mno': 6,
    'pqrs': 7,
    'tuv': 8,
    'wxyz': 9
}
arr.forEach((el, idx) => {
    if (el >='A' && el < 'Z'){
        arr[idx] = String.fromCharCode(el.toLowerCase().charCodeAt()+1)
    } else if (el == 'Z'){
        arr[idx] = 'a'
    } else {
        Object.keys(obj).forEach(key => {
            if (key.includes(el)) {
                arr[idx] = obj[key]
            }
        })
    }
    
})
console.log(arr.join(''))