401690: GYM100514 B :-P
Memory Limit:256 MB
Time Limit:1 S
Judge Style:Text Compare
Creator:
Submit:0
Solved:0
Description
B. :-Ptime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard output
You are given an encrypted string, encrypted using a certain algorithm. Decrypt it !
InputThe first line of input contains a string s, which each of it's characters is a lower case English letter. (1 ≤ |s| ≤ 105)
The second line contains single integer p. (1 ≤ p ≤ |s|)
OutputPrint the original string.
ExamplesInputcrhhzaeOutput
3
charzehInput
yeofuisOutput
4
yousefiInput
mtmOutput
2
mmt