New course! Every coder should learn Generative AI!
Try a free lesson+ 2
import java.util.*;
public class Program
{
public static void main(String[] args) {
Scanner scn = new Scanner(System.in);
int x = scn.nextInt();
if(x == 3){System.out.println(x + " Is my lucky number");
}
else
{System.out.println(x);}
}
}