import java.util.List;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Main main = new Main();
		main.run();
	}

	void run() {
		Scanner sc = new Scanner(System.in);

		String S=sc.next();
		String T=sc.next();

		for (int i = 0; i < S.length(); i++) {

			if(S.equals(T)) {
				System.out.println("Yes");
				return;
			}

			S=S.substring(S.length()-1, S.length())+S.substring(0,S.length()-1);

		}

		System.out.println("No");
	}

	//以下テンプレート

	public static int[] extgcd(int a, int b) {

		int x0 = 1;
		int x1 = 0;

		int y0 = 0;
		int y1 = 1;

		while (b != 0) {
			int q = a / b;
			int r = a % b;

			int x2 = x0 - q * x1;
			int y2 = y0 - q * y1;

			a = b;
			b = r;

			x0 = x1;
			x1 = x2;

			y0 = y1;
			y1 = y2;
		}

		return new int[] { a, x0, y0 };

	}

	static int gcd(int a, int b) {

		if (b == 0)
			return a;

		if (a < b) {
			int t = a;
			a = b;
			b = t;
		}

		return gcd(b, a % b);

	}

	static int lcm(int a, int b) {
		return a * b / gcd(a, b);
	}

	static void swap(int[] a) {
		int t;

		t = a[0];
		a[0] = a[1];
		a[1] = t;

		return;
	}

	static <T> void output(List<T> list) {

		for (int i = 0; i < list.size(); i++) {
			System.out.print(list.get(i));

			if (i != list.size() - 1) {
				System.out.print(" ");
			} else {
				nl();
			}
		}

	}

	static void output(String[][] str) {

		for (int i = 0; i < str.length; i++) {
			for (int j = 0; j < str[i].length; j++) {
				print(str[i][j]);
			}

			nl();
		}

	}

	static void output(boolean flg, String Yes, String No) {

		if (flg) {
			pln(Yes);
		} else {
			pln(No);
		}

	}

	static void output(String[][] str, int digit) {

		String dig = "%" + String.valueOf(digit) + "s";

		for (int i = 0; i < str.length; i++) {
			for (int j = 0; j < str[i].length; j++) {
				System.out.printf(dig, str[i][j]);
			}
			nl();
		}

	}

	static void pln(String str) {
		System.out.println(str);
	}

	static void pln(int x) {
		System.out.println(x);
	}

	static void print(String str) {
		System.out.print(str);
	}

	static void print(int x) {
		System.out.print(x);
	}

	static void print(String str, int times) {
		for (int i = 0; i < times; i++) {
			print(str);
		}
	}

	static void print(int x, int times) {
		for (int i = 0; i < times; i++) {
			print(x);
		}
	}

	static void nl() {
		System.out.println();
	}

} import java.util.List; List java.util import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		Main main = new Main();
		main.run();
	}

	void run() {
		Scanner sc = new Scanner(System.in);

		String S=sc.next();
		String T=sc.next();

		for (int i = 0; i < S.length(); i++) {

			if(S.equals(T)) {
				System.out.println("Yes");
				return;
			}

			S=S.substring(S.length()-1, S.length())+S.substring(0,S.length()-1);

		}

		System.out.println("No");
	}

	//以下テンプレート

	public static int[] extgcd(int a, int b) {

		int x0 = 1;
		int x1 = 0;

		int y0 = 0;
		int y1 = 1;

		while (b != 0) {
			int q = a / b;
			int r = a % b;

			int x2 = x0 - q * x1;
			int y2 = y0 - q * y1;

			a = b;
			b = r;

			x0 = x1;
			x1 = x2;

			y0 = y1;
			y1 = y2;
		}

		return new int[] { a, x0, y0 };

	}

	static int gcd(int a, int b) {

		if (b == 0)
			return a;

		if (a < b) {
			int t = a;
			a = b;
			b = t;
		}

		return gcd(b, a % b);

	}

	static int lcm(int a, int b) {
		return a * b / gcd(a, b);
	}

	static void swap(int[] a) {
		int t;

		t = a[0];
		a[0] = a[1];
		a[1] = t;

		return;
	}

	static <T> void output(List<T> list) {

		for (int i = 0; i < list.size(); i++) {
			System.out.print(list.get(i));

			if (i != list.size() - 1) {
				System.out.print(" ");
			} else {
				nl();
			}
		}

	}

	static void output(String[][] str) {

		for (int i = 0; i < str.length; i++) {
			for (int j = 0; j < str[i].length; j++) {
				print(str[i][j]);
			}

			nl();
		}

	}

	static void output(boolean flg, String Yes, String No) {

		if (flg) {
			pln(Yes);
		} else {
			pln(No);
		}

	}

	static void output(String[][] str, int digit) {

		String dig = "%" + String.valueOf(digit) + "s";

		for (int i = 0; i < str.length; i++) {
			for (int j = 0; j < str[i].length; j++) {
				System.out.printf(dig, str[i][j]);
			}
			nl();
		}

	}

	static void pln(String str) {
		System.out.println(str);
	}

	static void pln(int x) {
		System.out.println(x);
	}

	static void print(String str) {
		System.out.print(str);
	}

	static void print(int x) {
		System.out.print(x);
	}

	static void print(String str, int times) {
		for (int i = 0; i < times; i++) {
			print(str);
		}
	}

	static void print(int x, int times) {
		for (int i = 0; i < times; i++) {
			print(x);
		}
	}

	static void nl() {
		System.out.println();
	}

} Main public static void main(String[] args) {
		Main main = new Main();
		main.run();
	} main {
		Main main = new Main();
		main.run();
	} Main main = new Main(); main new Main() main.run() main.run main String[] args args void run() {
		Scanner sc = new Scanner(System.in);

		String S=sc.next();
		String T=sc.next();

		for (int i = 0; i < S.length(); i++) {

			if(S.equals(T)) {
				System.out.println("Yes");
				return;
			}

			S=S.substring(S.length()-1, S.length())+S.substring(0,S.length()-1);

		}

		System.out.println("No");
	} run {
		Scanner sc = new Scanner(System.in);

		String S=sc.next();
		String T=sc.next();

		for (int i = 0; i < S.length(); i++) {

			if(S.equals(T)) {
				System.out.println("Yes");
				return;
			}

			S=S.substring(S.length()-1, S.length())+S.substring(0,S.length()-1);

		}

		System.out.println("No");
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String S=sc.next(); S sc.next() sc.next sc String T=sc.next(); T sc.next() sc.next sc for (int i = 0; i < S.length(); i++) {

			if(S.equals(T)) {
				System.out.println("Yes");
				return;
			}

			S=S.substring(S.length()-1, S.length())+S.substring(0,S.length()-1);

		} int i = 0; int i = 0; i 0 i < S.length() i S.length() S.length S i++ i++ i {

			if(S.equals(T)) {
				System.out.println("Yes");
				return;
			}

			S=S.substring(S.length()-1, S.length())+S.substring(0,S.length()-1);

		} {

			if(S.equals(T)) {
				System.out.println("Yes");
				return;
			}

			S=S.substring(S.length()-1, S.length())+S.substring(0,S.length()-1);

		} if(S.equals(T)) {
				System.out.println("Yes");
				return;
			} S.equals(T) S.equals S T {
				System.out.println("Yes");
				return;
			} System.out.println("Yes") System.out.println System.out System System.out "Yes" return; S=S.substring(S.length()-1, S.length())+S.substring(0,S.length()-1) S S.substring(S.length()-1, S.length())+S.substring(0,S.length()-1) S.substring(S.length()-1, S.length()) S.substring S S.length()-1 S.length() S.length S 1 S.length() S.length S S.substring(0,S.length()-1) S.substring S 0 S.length()-1 S.length() S.length S 1 System.out.println("No") System.out.println System.out System System.out "No" public static int[] extgcd(int a, int b) {

		int x0 = 1;
		int x1 = 0;

		int y0 = 0;
		int y1 = 1;

		while (b != 0) {
			int q = a / b;
			int r = a % b;

			int x2 = x0 - q * x1;
			int y2 = y0 - q * y1;

			a = b;
			b = r;

			x0 = x1;
			x1 = x2;

			y0 = y1;
			y1 = y2;
		}

		return new int[] { a, x0, y0 };

	} extgcd {

		int x0 = 1;
		int x1 = 0;

		int y0 = 0;
		int y1 = 1;

		while (b != 0) {
			int q = a / b;
			int r = a % b;

			int x2 = x0 - q * x1;
			int y2 = y0 - q * y1;

			a = b;
			b = r;

			x0 = x1;
			x1 = x2;

			y0 = y1;
			y1 = y2;
		}

		return new int[] { a, x0, y0 };

	} int x0 = 1; x0 1 int x1 = 0; x1 0 int y0 = 0; y0 0 int y1 = 1; y1 1 while (b != 0) {
			int q = a / b;
			int r = a % b;

			int x2 = x0 - q * x1;
			int y2 = y0 - q * y1;

			a = b;
			b = r;

			x0 = x1;
			x1 = x2;

			y0 = y1;
			y1 = y2;
		} b != 0 b 0 {
			int q = a / b;
			int r = a % b;

			int x2 = x0 - q * x1;
			int y2 = y0 - q * y1;

			a = b;
			b = r;

			x0 = x1;
			x1 = x2;

			y0 = y1;
			y1 = y2;
		} int q = a / b; q a / b a b int r = a % b; r a % b a b int x2 = x0 - q * x1; x2 x0 - q * x1 x0 q * x1 q x1 int y2 = y0 - q * y1; y2 y0 - q * y1 y0 q * y1 q y1 a = b a b b = r b r x0 = x1 x0 x1 x1 = x2 x1 x2 y0 = y1 y0 y1 y1 = y2 y1 y2 return new int[] { a, x0, y0 }; new int[] { a, x0, y0 } int a a int b b static int gcd(int a, int b) {

		if (b == 0)
			return a;

		if (a < b) {
			int t = a;
			a = b;
			b = t;
		}

		return gcd(b, a % b);

	} gcd {

		if (b == 0)
			return a;

		if (a < b) {
			int t = a;
			a = b;
			b = t;
		}

		return gcd(b, a % b);

	} if (b == 0)
			return a; b == 0 b 0 return a; a if (a < b) {
			int t = a;
			a = b;
			b = t;
		} a < b a b {
			int t = a;
			a = b;
			b = t;
		} int t = a; t a a = b a b b = t b t return gcd(b, a % b); gcd(b, a % b) gcd b a % b a b int a a int b b static int lcm(int a, int b) {
		return a * b / gcd(a, b);
	} lcm {
		return a * b / gcd(a, b);
	} return a * b / gcd(a, b); a * b / gcd(a, b) a * b a b gcd(a, b) gcd a b int a a int b b static void swap(int[] a) {
		int t;

		t = a[0];
		a[0] = a[1];
		a[1] = t;

		return;
	} swap {
		int t;

		t = a[0];
		a[0] = a[1];
		a[1] = t;

		return;
	} int t; t t = a[0] t a[0] a 0 a[0] = a[1] a[0] a 0 a[1] a 1 a[1] = t a[1] a 1 t return; int[] a a static <T> void output(List<T> list) {

		for (int i = 0; i < list.size(); i++) {
			System.out.print(list.get(i));

			if (i != list.size() - 1) {
				System.out.print(" ");
			} else {
				nl();
			}
		}

	} output {

		for (int i = 0; i < list.size(); i++) {
			System.out.print(list.get(i));

			if (i != list.size() - 1) {
				System.out.print(" ");
			} else {
				nl();
			}
		}

	} for (int i = 0; i < list.size(); i++) {
			System.out.print(list.get(i));

			if (i != list.size() - 1) {
				System.out.print(" ");
			} else {
				nl();
			}
		} int i = 0; int i = 0; i 0 i < list.size() i list.size() list.size list i++ i++ i {
			System.out.print(list.get(i));

			if (i != list.size() - 1) {
				System.out.print(" ");
			} else {
				nl();
			}
		} {
			System.out.print(list.get(i));

			if (i != list.size() - 1) {
				System.out.print(" ");
			} else {
				nl();
			}
		} System.out.print(list.get(i)) System.out.print System.out System System.out list.get(i) list.get list i if (i != list.size() - 1) {
				System.out.print(" ");
			} else {
				nl();
			} i != list.size() - 1 i list.size() - 1 list.size() list.size list 1 {
				System.out.print(" ");
			} System.out.print(" ") System.out.print System.out System System.out " " {
				nl();
			} nl() nl List<T> list list static void output(String[][] str) {

		for (int i = 0; i < str.length; i++) {
			for (int j = 0; j < str[i].length; j++) {
				print(str[i][j]);
			}

			nl();
		}

	} output {

		for (int i = 0; i < str.length; i++) {
			for (int j = 0; j < str[i].length; j++) {
				print(str[i][j]);
			}

			nl();
		}

	} for (int i = 0; i < str.length; i++) {
			for (int j = 0; j < str[i].length; j++) {
				print(str[i][j]);
			}

			nl();
		} int i = 0; int i = 0; i 0 i < str.length i str.length str str.length i++ i++ i {
			for (int j = 0; j < str[i].length; j++) {
				print(str[i][j]);
			}

			nl();
		} {
			for (int j = 0; j < str[i].length; j++) {
				print(str[i][j]);
			}

			nl();
		} for (int j = 0; j < str[i].length; j++) {
				print(str[i][j]);
			} int j = 0; int j = 0; j 0 j < str[i].length j str[i].length str[i] str i str[i].length j++ j++ j {
				print(str[i][j]);
			} {
				print(str[i][j]);
			} print(str[i][j]) print str[i][j] str[i] str i j nl() nl String[][] str str static void output(boolean flg, String Yes, String No) {

		if (flg) {
			pln(Yes);
		} else {
			pln(No);
		}

	} output {

		if (flg) {
			pln(Yes);
		} else {
			pln(No);
		}

	} if (flg) {
			pln(Yes);
		} else {
			pln(No);
		} flg {
			pln(Yes);
		} pln(Yes) pln Yes {
			pln(No);
		} pln(No) pln No boolean flg flg String Yes Yes String No No static void output(String[][] str, int digit) {

		String dig = "%" + String.valueOf(digit) + "s";

		for (int i = 0; i < str.length; i++) {
			for (int j = 0; j < str[i].length; j++) {
				System.out.printf(dig, str[i][j]);
			}
			nl();
		}

	} output {

		String dig = "%" + String.valueOf(digit) + "s";

		for (int i = 0; i < str.length; i++) {
			for (int j = 0; j < str[i].length; j++) {
				System.out.printf(dig, str[i][j]);
			}
			nl();
		}

	} String dig = "%" + String.valueOf(digit) + "s"; dig "%" + String.valueOf(digit) + "s" "%" + String.valueOf(digit) + "s" "%" String.valueOf(digit) String.valueOf String digit "s" for (int i = 0; i < str.length; i++) {
			for (int j = 0; j < str[i].length; j++) {
				System.out.printf(dig, str[i][j]);
			}
			nl();
		} int i = 0; int i = 0; i 0 i < str.length i str.length str str.length i++ i++ i {
			for (int j = 0; j < str[i].length; j++) {
				System.out.printf(dig, str[i][j]);
			}
			nl();
		} {
			for (int j = 0; j < str[i].length; j++) {
				System.out.printf(dig, str[i][j]);
			}
			nl();
		} for (int j = 0; j < str[i].length; j++) {
				System.out.printf(dig, str[i][j]);
			} int j = 0; int j = 0; j 0 j < str[i].length j str[i].length str[i] str i str[i].length j++ j++ j {
				System.out.printf(dig, str[i][j]);
			} {
				System.out.printf(dig, str[i][j]);
			} System.out.printf(dig, str[i][j]) System.out.printf System.out System System.out dig str[i][j] str[i] str i j nl() nl String[][] str str int digit digit static void pln(String str) {
		System.out.println(str);
	} pln {
		System.out.println(str);
	} System.out.println(str) System.out.println System.out System System.out str String str str static void pln(int x) {
		System.out.println(x);
	} pln {
		System.out.println(x);
	} System.out.println(x) System.out.println System.out System System.out x int x x static void print(String str) {
		System.out.print(str);
	} print {
		System.out.print(str);
	} System.out.print(str) System.out.print System.out System System.out str String str str static void print(int x) {
		System.out.print(x);
	} print {
		System.out.print(x);
	} System.out.print(x) System.out.print System.out System System.out x int x x static void print(String str, int times) {
		for (int i = 0; i < times; i++) {
			print(str);
		}
	} print {
		for (int i = 0; i < times; i++) {
			print(str);
		}
	} for (int i = 0; i < times; i++) {
			print(str);
		} int i = 0; int i = 0; i 0 i < times i times i++ i++ i {
			print(str);
		} {
			print(str);
		} print(str) print str String str str int times times static void print(int x, int times) {
		for (int i = 0; i < times; i++) {
			print(x);
		}
	} print {
		for (int i = 0; i < times; i++) {
			print(x);
		}
	} for (int i = 0; i < times; i++) {
			print(x);
		} int i = 0; int i = 0; i 0 i < times i times i++ i++ i {
			print(x);
		} {
			print(x);
		} print(x) print x int x x int times times static void nl() {
		System.out.println();
	} nl {
		System.out.println();
	} System.out.println() System.out.println System.out System System.out public class Main {

	public static void main(String[] args) {
		Main main = new Main();
		main.run();
	}

	void run() {
		Scanner sc = new Scanner(System.in);

		String S=sc.next();
		String T=sc.next();

		for (int i = 0; i < S.length(); i++) {

			if(S.equals(T)) {
				System.out.println("Yes");
				return;
			}

			S=S.substring(S.length()-1, S.length())+S.substring(0,S.length()-1);

		}

		System.out.println("No");
	}

	//以下テンプレート

	public static int[] extgcd(int a, int b) {

		int x0 = 1;
		int x1 = 0;

		int y0 = 0;
		int y1 = 1;

		while (b != 0) {
			int q = a / b;
			int r = a % b;

			int x2 = x0 - q * x1;
			int y2 = y0 - q * y1;

			a = b;
			b = r;

			x0 = x1;
			x1 = x2;

			y0 = y1;
			y1 = y2;
		}

		return new int[] { a, x0, y0 };

	}

	static int gcd(int a, int b) {

		if (b == 0)
			return a;

		if (a < b) {
			int t = a;
			a = b;
			b = t;
		}

		return gcd(b, a % b);

	}

	static int lcm(int a, int b) {
		return a * b / gcd(a, b);
	}

	static void swap(int[] a) {
		int t;

		t = a[0];
		a[0] = a[1];
		a[1] = t;

		return;
	}

	static <T> void output(List<T> list) {

		for (int i = 0; i < list.size(); i++) {
			System.out.print(list.get(i));

			if (i != list.size() - 1) {
				System.out.print(" ");
			} else {
				nl();
			}
		}

	}

	static void output(String[][] str) {

		for (int i = 0; i < str.length; i++) {
			for (int j = 0; j < str[i].length; j++) {
				print(str[i][j]);
			}

			nl();
		}

	}

	static void output(boolean flg, String Yes, String No) {

		if (flg) {
			pln(Yes);
		} else {
			pln(No);
		}

	}

	static void output(String[][] str, int digit) {

		String dig = "%" + String.valueOf(digit) + "s";

		for (int i = 0; i < str.length; i++) {
			for (int j = 0; j < str[i].length; j++) {
				System.out.printf(dig, str[i][j]);
			}
			nl();
		}

	}

	static void pln(String str) {
		System.out.println(str);
	}

	static void pln(int x) {
		System.out.println(x);
	}

	static void print(String str) {
		System.out.print(str);
	}

	static void print(int x) {
		System.out.print(x);
	}

	static void print(String str, int times) {
		for (int i = 0; i < times; i++) {
			print(str);
		}
	}

	static void print(int x, int times) {
		for (int i = 0; i < times; i++) {
			print(x);
		}
	}

	static void nl() {
		System.out.println();
	}

} public class Main {

	public static void main(String[] args) {
		Main main = new Main();
		main.run();
	}

	void run() {
		Scanner sc = new Scanner(System.in);

		String S=sc.next();
		String T=sc.next();

		for (int i = 0; i < S.length(); i++) {

			if(S.equals(T)) {
				System.out.println("Yes");
				return;
			}

			S=S.substring(S.length()-1, S.length())+S.substring(0,S.length()-1);

		}

		System.out.println("No");
	}

	//以下テンプレート

	public static int[] extgcd(int a, int b) {

		int x0 = 1;
		int x1 = 0;

		int y0 = 0;
		int y1 = 1;

		while (b != 0) {
			int q = a / b;
			int r = a % b;

			int x2 = x0 - q * x1;
			int y2 = y0 - q * y1;

			a = b;
			b = r;

			x0 = x1;
			x1 = x2;

			y0 = y1;
			y1 = y2;
		}

		return new int[] { a, x0, y0 };

	}

	static int gcd(int a, int b) {

		if (b == 0)
			return a;

		if (a < b) {
			int t = a;
			a = b;
			b = t;
		}

		return gcd(b, a % b);

	}

	static int lcm(int a, int b) {
		return a * b / gcd(a, b);
	}

	static void swap(int[] a) {
		int t;

		t = a[0];
		a[0] = a[1];
		a[1] = t;

		return;
	}

	static <T> void output(List<T> list) {

		for (int i = 0; i < list.size(); i++) {
			System.out.print(list.get(i));

			if (i != list.size() - 1) {
				System.out.print(" ");
			} else {
				nl();
			}
		}

	}

	static void output(String[][] str) {

		for (int i = 0; i < str.length; i++) {
			for (int j = 0; j < str[i].length; j++) {
				print(str[i][j]);
			}

			nl();
		}

	}

	static void output(boolean flg, String Yes, String No) {

		if (flg) {
			pln(Yes);
		} else {
			pln(No);
		}

	}

	static void output(String[][] str, int digit) {

		String dig = "%" + String.valueOf(digit) + "s";

		for (int i = 0; i < str.length; i++) {
			for (int j = 0; j < str[i].length; j++) {
				System.out.printf(dig, str[i][j]);
			}
			nl();
		}

	}

	static void pln(String str) {
		System.out.println(str);
	}

	static void pln(int x) {
		System.out.println(x);
	}

	static void print(String str) {
		System.out.print(str);
	}

	static void print(int x) {
		System.out.print(x);
	}

	static void print(String str, int times) {
		for (int i = 0; i < times; i++) {
			print(str);
		}
	}

	static void print(int x, int times) {
		for (int i = 0; i < times; i++) {
			print(x);
		}
	}

	static void nl() {
		System.out.println();
	}

} Main
import java.util.List;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Main main = new Main();
		main.run();
	}

	void run() {
		Scanner sc = new Scanner(System.in);

		String S=sc.next();
		String T=sc.next();

		for (int i = 0; i < S.length(); i++) {

			if(S.equals(T)) {
				System.out.println("Yes");
				return;
			}

			S=S.substring(S.length()-1, S.length())+S.substring(0,S.length()-1);

		}

		System.out.println("No");
	}

	//以下テンプレート

	public static int[] extgcd(int a, int b) {

		int x0 = 1;
		int x1 = 0;

		int y0 = 0;
		int y1 = 1;

		while (b != 0) {
			int q = a / b;
			int r = a % b;

			int x2 = x0 - q * x1;
			int y2 = y0 - q * y1;

			a = b;
			b = r;

			x0 = x1;
			x1 = x2;

			y0 = y1;
			y1 = y2;
		}

		return new int[] { a, x0, y0 };

	}

	static int gcd(int a, int b) {

		if (b == 0)
			return a;

		if (a < b) {
			int t = a;
			a = b;
			b = t;
		}

		return gcd(b, a % b);

	}

	static int lcm(int a, int b) {
		return a * b / gcd(a, b);
	}

	static void swap(int[] a) {
		int t;

		t = a[0];
		a[0] = a[1];
		a[1] = t;

		return;
	}

	static <T> void output(List<T> list) {

		for (int i = 0; i < list.size(); i++) {
			System.out.print(list.get(i));

			if (i != list.size() - 1) {
				System.out.print(" ");
			} else {
				nl();
			}
		}

	}

	static void output(String[][] str) {

		for (int i = 0; i < str.length; i++) {
			for (int j = 0; j < str[i].length; j++) {
				print(str[i][j]);
			}

			nl();
		}

	}

	static void output(boolean flg, String Yes, String No) {

		if (flg) {
			pln(Yes);
		} else {
			pln(No);
		}

	}

	static void output(String[][] str, int digit) {

		String dig = "%" + String.valueOf(digit) + "s";

		for (int i = 0; i < str.length; i++) {
			for (int j = 0; j < str[i].length; j++) {
				System.out.printf(dig, str[i][j]);
			}
			nl();
		}

	}

	static void pln(String str) {
		System.out.println(str);
	}

	static void pln(int x) {
		System.out.println(x);
	}

	static void print(String str) {
		System.out.print(str);
	}

	static void print(int x) {
		System.out.print(x);
	}

	static void print(String str, int times) {
		for (int i = 0; i < times; i++) {
			print(str);
		}
	}

	static void print(int x, int times) {
		for (int i = 0; i < times; i++) {
			print(x);
		}
	}

	static void nl() {
		System.out.println();
	}

}
