secure Gmail


Submit solution

Points: 10
Time limit: 6.0s
Memory limit: 12M

Author:
Problem type
Allowed languages
C, C++

Aim:

Aryan needs to access his Gmail account in a secure way.

Aryan enters the password. The password needs to be encrypted.. Can you help Aryan to write a C program for encrypting the string using the following way.

Read an input message, and applies a particular shift/key to every letter in the forward direction. Eg: If your password is “crazy” , shift =2, then encrypted password is “etcba” [with a shift of 2, c would be replaced by e, r would become t , z would become b and so on].

Input Format:

First Input is the password.

Second input is the shift value

Output Format:

Display the encrypted password

Input

crazy

5

Output

hwfed


Comments

There are no comments at the moment.