Company: Idfc_29march
Difficulty: medium
Simple Cipher Decryption Problem Description A simple cipher is built on an alphabet wheel that carries the 26 uppercase English letters 'A' through 'Z' in order around its rim. Counter-clockwise is the direction opposite to the one in which the hands of a clock move: on this wheel, 'Z' is 1 unit counter-clockwise from 'A', 'Y' is 2 units counter-clockwise from 'A', and so on, wrapping around the rim forever. You are given an encrypted string made up of uppercase English letters only, and an offset k . Decrypt the string by replacing every character with the character that lies k units away from it in the counter-clockwise direction on the wheel. Complete the function simpleCipher in the editor below. simpleCipher has the following parameters: string encrypted : the string to decrypt int k : the offset Returns: string : the decrypted string Input Format The input is read from standard input: The first line contains the string encrypted . The second line contains the integer k . Output