import java.util.*;
public class reverse {
public static void main(String[] args){
Scanner sc=new Scanner(System.in);
int n=sc.nextInt();
while(n!=0){
int x=n%10;
System.out.print(x);
n=n/10;
}
}
} this is the code which i have written is there anything wrong with this code