you give string s consist lowercase English letter integer kFirst convert s integer replace letter position alphabet ie replace 1 b 2 z 26 then transform integer replace sum digit Repeat transform operation k time totalFor example s zbax k 2 result integer 8 follow operationsConvert zbax 262124 262124 262124transform 1 262124 2 6 2 1 2 4 17transform 2 17 1 7 8return result integer perform operation describe Example 1input s iiii k 1output 36explanation the operation follow Convert iiii 9999 9999 9999 Transform 1 9999 9 9 9 9 36thus result integer 36example 2input s leetcode k 2output 6explanation the operation follow Convert leetcode 12552031545 12552031545 12552031545 Transform 1 12552031545 1 2 5 5 2 0 3 1 5 4 5 33 Transform 2 33 3 3 6thu result integer 6Example 3Input s zbax k 2output 8 Constraints1 slength 1001 k 10s consists lowercase english letter