//https://www.nowcoder.com/practice/99dba043761e43c2a6f931e2c5c247c7?tpId=107&tags=&title=&diffculty=0&judgeStatus=0&rp=1
import java.util.Scanner;
public class Main1 {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
while(sc.hasNext()) {
int x1 = sc.nextInt();
if(x1==200)
System.out.println("OK");
if(x1==202)
System.out.println("Accepted");
if(x1==400)
System.out.println("Bad Request");
if(x1==403)
System.out.println("orbidden");
if(x1==404)
System.out.println("Not Found");
if(x1==500)
System.out.println("Internal Server Error");
if(x1==502)
System.out.println("Bad Gateway");
}
}
}
//https://www.nowcoder.com/practice/804a22929b844e6b9379a5e90b5e2197?tpId=107&tags=&title=&diffculty=0&judgeStatus=0&rp=1
import java.util.Scanner;
public class Main2 {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
while(sc.hasNext()) {
int xx = sc.nextInt();
for(int i=1;i<=xx;i++) {
for(int j=1;j<=i;j++) {
System.out.print(j+" ");
}
System.out.println();
}
}
}
}
//https://www.nowcoder.com/practice/f3a134908d5b41869f14f58307008a97?tpId=107&tags=&title=&diffculty=0&judgeStatus=0&rp=1
import java.util.Arrays;
import java.util.Scanner;
public class Main3 {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
double sum = 0;
while(sc.hasNext()) {
double x1 = sc.nextDouble();
double x2 = sc.nextDouble();
double x3 = sc.nextDouble();
double x4 = sc.nextDouble();
double x5 = sc.nextDouble();
double x6 = sc.nextDouble();
double x7 = sc.nextDouble();
double[] array = {x1,x2,x3,x4,x5,x6,x7};
Arrays.sort(array);
for(int i=0;i
//https://www.nowcoder.com/practice/ce0b2eacd3d04647831358c2876e44ff?tpId=107&&tqId=33393&rp=1&ru=/ta/beginner-programmers&qru=/ta/beginner-programmers/question-ranking
import java.util.Scanner;
public class Main5 {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
while(sc.hasNext()) {
String str = sc.next();
long n = Integer.parseInt(str);
long res = (n+1)*n/2;
System.out.println(res);
}
}
}
//https://www.nowcoder.com/practice/895b3b552d80485cb5e426a0ebf9a251?tpId=107&&tqId=33370&rp=1&ru=/ta/beginner-programmers&qru=/ta/beginner-programmers/question-ranking
import java.util.Scanner;
public class Main6 {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
while(sc.hasNext()) {
String str1 = sc.nextLine();
String str2 = sc.nextLine();
if(str1.equals(str2)) {
System.out.println("same");
}
else
System.out.println("different");
}
}
}
//https://www.nowcoder.com/practice/b007744eb43b4f7b95d9e87de01528db?tpId=107&&tqId=33375&rp=1&ru=/ta/beginner-programmers&qru=/ta/beginner-programmers/question-ranking
import java.util.Scanner;
public class Main7 {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
while(sc.hasNext()) {
int xx = sc.nextInt();
int sum = 0;
int[] array = new int[xx];
for(int i=0;i
//https://www.nowcoder.com/practice/7eb4df4d52c44d309081509cf52ecbc4?tpId=107&&tqId=33327&rp=1&ru=/ta/beginner-programmers&qru=/ta/beginner-programmers/question-ranking
import java.util.Scanner;
public class Main8 {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
while(sc.hasNext()) {
String str = sc.next();
char c = str.charAt(0);
if((c=='i'||c=='a'||c=='e'||c=='o'||c=='u')||(c=='I'||c=='A'||c=='E'||c=='O'||c=='U')) {
System.out.println("Vowel");
}
else
System.out.println("Consonant");
}
}
}
//https://www.nowcoder.com/practice/850ebd30a2a34cfc87199da3fc15786a?tpId=107&&tqId=33329&rp=1&ru=/ta/beginner-programmers&qru=/ta/beginner-programmers/question-ranking
import java.util.Scanner;
public class Main9 {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
while(sc.hasNext()) {
String str = sc.next();
if(str==str.toUpperCase()) {
System.out.println(str.toLowerCase());
}
else
System.out.println(str.toUpperCase());
}
}
}