#include <iostream>
#include <algorithm>
#include <map>
#include <cctype>
#include <string>

const std::map<char, char> m = {
    {'a', '*'}, {'e', '$'}, {'i', '/'}, {'o', '+'}, {'u', '-'}
};

int main()
{
    std::cout << "Enter Message here:\n";
    std::string s;
    getline(std::cin, s);

    std::for_each(s.begin(), s.end(), [](char& c) {
         auto i = m.find(std::tolower(c));
         if(i != m.end())
             c = i->second;
    });

    std::cout << "Encrypted Message: " << s << '\n';
}
