풀이(성공)
#include <string>
#include <vector>
using namespace std;
string solution(string phone_number) {
string answer = "";
int index= phone_number.size()-4;
string remain = phone_number.substr(index);
for(int i=0; i<index; i++){
answer += "*";
}
answer += remain;
return answer;
}