Help me in solving GSJ203 problem

My issue

What is the mistake I have made in this code?

My code

import java.util.Scanner;

class Number {
    public static void main(String[] args) {
        int N;
        System.out.println("Enter an integer value:");
        Scanner sc = new Scanner(System.in);
        N = sc.nextInt();
        System.out.println(N);
        
        // Close the scanner to release resources
        sc.close();
    }
}

Learning course: Java for problem solving - 1
Problem Link: CodeChef: Practical coding for everyone

@rishma909
U have to do it like this.

// Solution as follows
import java.util.Scanner;

class Codechef
{
	public static void main (String[] args)
	{
        Scanner objName = new Scanner(System.in);
        int N = objName.nextInt();
		System.out.println(N);
	}
}