import java.util.Scanner;
public class algorithm {
public static void main(String[] args) {
algorithm a=new algorithm();
Scanner s=new Scanner(System.in);
int q=s.nextInt();
while(q!=0) {
switch (q) {
case 1:
a.method1();
break;
case 2:
a.method2();
break;
case 3:
a.method3();
break;
case 4:
a.method4();
break;
case 5:
a.method5();
break;
case 6