import java.util.*;
public class Main
{
static void main(String[] args)
{
System.out.print("Tell a string: ");
String Entry = new Scanner(System.in).nextLine();
String result;
result = Entry.replace("a", "A");
System.out.println(result);
System.out.println(UppercaseFirst(Entry));
}
public static String UppercaseFirst(String s)
{
return Character.toUpperCase(s.charAt(0)) + s.substring(1);
}
}