Codechef - Number Mirror

Number Mirror problem from CodeChef.

Codechef - Number Mirror

Problem

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.

Constraints

  • 0 <= N <= 105

Solution :

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

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

/* 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(System.in);
	    a = sc.nextInt();
	    System.out.println(a);
	}
}