```java
import java.util.Scanner;
public class Main {
private static void input(){
char str=new Scanner(System.in).next().charAt(0);
int daostr = 0;
if (str<=64||daostr>90) {
input();
}else{
int count=0;
for (int i = 'A'; i <= str; i++) {
count++;
System.out.print((char)i);
;
}
}
}
public static void main(String[] args) {
input();
}
}