public class Main { public static void main(String[] args) { String str = "Abc"; String repeated = new String(new char[3]).replace("