링크 : https://www.acmicpc.net/problem/5598
#include <iostream>
#include <string>
#include <vector>
using namespace std;
int main(){
string s;
cin >> s;
for(char c : s){
if(c == 'A' || c == 'B' || c == 'C'){
c = int(c) + 23;
}
else c = int(c) - 3;
cout << c;
}
return 0;
}