Codechef - Number Mirror
Number Mirror problem from CodeChef.
![Codechef - Number Mirror](/content/images/size/w1200/2023/04/CodeChef-Number-Mirror.png)
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
![](https://www.codelz.com/content/images/2023/04/Screenshot-2023-04-18-at-10.46.31-AM.jpg)
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);
}
}