Codechef - Number Mirror

Number Mirror problem from CodeChef.

Codechef - Number Mirror


Write a program that takes a number N as the input, and prints it to the output.

Input Format

The only line contains a single integer.

Output Format

Output the answer in a single line.


  • 0 <= N <= 105

Solution :

/* package codechef; // don't place package name! */

import java.util.*;
import java.lang.*;

/* Name of the class has to be "Main" only if the class is public. */
class Codechef
	public static void main (String[] args) throws java.lang.Exception
	    int a;
	    Scanner sc = new Scanner(;
	    a = sc.nextInt();