![uva 10222 - Decode the Mad man uva 10222 - Decode the Mad man](https://image.shishitao.com:8440/aHR0cHM6Ly9ia3FzaW1nLmlrYWZhbi5jb20vdXBsb2FkL2NoYXRncHQtcy5wbmc%2FIQ%3D%3D.png?!?w=700&webp=1)
#include <iostream>
#include <string>
#include <cctype>
using namespace std; int main(int ac, char*av[])
{
string keyboard = "`1234567890-=qwertyuiop[]\\asdfghjkl;'zxcvbnm,./";
string line; getline(cin, line); for (int i=; i < line.length(); i++)
if(line[i] == ' ')
cout << " ";
else
cout << keyboard[keyboard.find_first_of(tolower(line[i])) - ]; cout << endl;
return ;
}