#include <iostream>
#include <string>
using namespace std;

int main()
{
    string s = "fhigkaigibjhmhlskmg";
    char f = 'g';
    char rep = '@';
    int pos = string::npos;
    while((pos = s.find(f)) != string::npos)
    {
        s[pos] = rep;
    }
    cout<<s<<endl;
}