class Solution {
public String solution(String phone_number) {
String answer = "";
String[] numbers=phone_number.split("");
int length=phone_number.length();
for(int i=0;i<length;i++){
if(i<length-4)
numbers[i]="*";
answer+=numbers[i];
}
return answer;
}
}