#embody <bits/stdc++.h>
utilizing
namespace
std;
Â
Â
string Decryption(string s, string key)
{
Â
Â
   Â
   Â
   Â
vector<string> msg;
Â
Â
   Â
   Â
   Â
vector<string> ans;
Â
Â
   Â
istringstream s1(s);
   Â
istringstream s2(key);
Â
Â
   Â
string phrase;
Â
Â
   Â
whereas
(s1 >> phrase) {
Â
Â
       Â
       Â
       Â
       Â
msg.push_back(phrase);
   Â
}
Â
Â
   Â
whereas
(s2 >> phrase) {
Â
Â
       Â
       Â
       Â
       Â
ans.push_back(phrase);
   Â
}
Â
Â
   Â
   Â
   Â
   Â
   Â
for
(
int
i = 0; i < msg.measurement(); i++) {
Â
Â
       Â
       Â
       Â
       Â
string message = msg[i];
Â
Â
       Â
       Â
       Â
       Â
string trace = ans[msg.size() - i - 1];
       Â
int
worth = trace.measurement();
Â
Â
       Â
       Â
       Â
if
(worth % 2) {
           Â
for
(
int
i = 0; i < message.measurement(); i++) {
Â
Â
               Â
               Â
               Â
               Â
               Â
if
((message[i] - 0) + worth > 122) {
Â
Â
                   Â
                   Â
                   Â
                   Â
                   Â
                   Â
int
val = message[i] + worth - 122;
                   Â
int
temp = 96 + val;
                   Â
message[i] = (
char
)temp;
               Â
}
               Â
else
{
Â
Â
                   Â
                   Â
                   Â
                   Â
                   Â
int
val = message[i] + worth;
                   Â
message[i] = (
char
)val;
               Â
}
           Â
}
       Â
}
Â
Â
       Â
       Â
       Â
else
{
Â
Â
           Â
           Â
           Â
           Â
           Â
for
(
int
i = 0; i < message.measurement(); i++) {
               Â
if
((message[i] - 0) - worth < 97) {
Â
Â
                   Â
                   Â
                   Â
                   Â
                   Â
                   Â
                   Â
int
val = message[i] - 96 - worth;
                   Â
int
temp = 122 + val;
                   Â
message[i] = (
char
)temp;
               Â
}
               Â
else
{
Â
Â
                   Â
                   Â
                   Â
                   Â
                   Â
int
val = message[i] - worth;
                   Â
message[i] = (
char
)val;
               Â
}
           Â
}
       Â
}
Â
Â
       Â
       Â
       Â
       Â
msg[i] = message;
   Â
}
Â
Â
   Â
   Â
   Â
string f_ans =
""
;
   Â
for
(
int
i = 0; i < msg.measurement(); i++) {
       Â
f_ans += msg[i];
       Â
if
(i < msg.measurement() - 1)
           Â
f_ans +=
' '
;
   Â
}
   Â
return
f_ans;
}
Â
Â
int
major()
{
   Â
string Message =
"qiix gz clro"
;
   Â
string Key =
"one orange ball"
;
Â
Â
   Â
   Â
cout << Decryption(Message, Key);
Â
Â
   Â
return
0;
}