import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
	public static void main(String[] args) throws IOException {
		InputStreamReader is = new InputStreamReader(System.in);
		char[] buf = new char[21];
		while (is.read(buf) != -1) {
		}
		for (int i = buf.length - 1; i >= 0; i--) {
			if (buf[i] > '\u002F')
				System.out.print(buf[i]);
		}
		System.out.print("\n");
	}
} import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {
	public static void main(String[] args) throws IOException {
		InputStreamReader is = new InputStreamReader(System.in);
		char[] buf = new char[21];
		while (is.read(buf) != -1) {
		}
		for (int i = buf.length - 1; i >= 0; i--) {
			if (buf[i] > '\u002F')
				System.out.print(buf[i]);
		}
		System.out.print("\n");
	}
} Main public static void main(String[] args) throws IOException {
		InputStreamReader is = new InputStreamReader(System.in);
		char[] buf = new char[21];
		while (is.read(buf) != -1) {
		}
		for (int i = buf.length - 1; i >= 0; i--) {
			if (buf[i] > '\u002F')
				System.out.print(buf[i]);
		}
		System.out.print("\n");
	} main {
		InputStreamReader is = new InputStreamReader(System.in);
		char[] buf = new char[21];
		while (is.read(buf) != -1) {
		}
		for (int i = buf.length - 1; i >= 0; i--) {
			if (buf[i] > '\u002F')
				System.out.print(buf[i]);
		}
		System.out.print("\n");
	} InputStreamReader is = new InputStreamReader(System.in); is new InputStreamReader(System.in) char[] buf = new char[21]; buf new char[21] 21 while (is.read(buf) != -1) {
		} is.read(buf) != -1 is.read(buf) is.read is buf -1 1 {
		} for (int i = buf.length - 1; i >= 0; i--) {
			if (buf[i] > '\u002F')
				System.out.print(buf[i]);
		} int i = buf.length - 1; int i = buf.length - 1; i buf.length - 1 buf.length buf buf.length 1 i >= 0 i 0 i-- i-- i {
			if (buf[i] > '\u002F')
				System.out.print(buf[i]);
		} {
			if (buf[i] > '\u002F')
				System.out.print(buf[i]);
		} if (buf[i] > '\u002F')
				System.out.print(buf[i]); buf[i] > '\u002F' buf[i] buf i '\u002F' System.out.print(buf[i]) System.out.print System.out System System.out buf[i] buf i System.out.print("\n") System.out.print System.out System System.out "\n" String[] args args public class Main {
	public static void main(String[] args) throws IOException {
		InputStreamReader is = new InputStreamReader(System.in);
		char[] buf = new char[21];
		while (is.read(buf) != -1) {
		}
		for (int i = buf.length - 1; i >= 0; i--) {
			if (buf[i] > '\u002F')
				System.out.print(buf[i]);
		}
		System.out.print("\n");
	}
} public class Main {
	public static void main(String[] args) throws IOException {
		InputStreamReader is = new InputStreamReader(System.in);
		char[] buf = new char[21];
		while (is.read(buf) != -1) {
		}
		for (int i = buf.length - 1; i >= 0; i--) {
			if (buf[i] > '\u002F')
				System.out.print(buf[i]);
		}
		System.out.print("\n");
	}
} Main
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
	public static void main(String[] args) throws IOException {
		InputStreamReader is = new InputStreamReader(System.in);
		char[] buf = new char[21];
		while (is.read(buf) != -1) {
		}
		for (int i = buf.length - 1; i >= 0; i--) {
			if (buf[i] > '\u002F')
				System.out.print(buf[i]);
		}
		System.out.print("\n");
	}
}