Help me in solving START01 problem

My issue

solve this problem in java

My code

import java.util.Scanner;

public class CodeChef {
    public static void main(String[] args) {
        // Create a Scanner object to read input
        Scanner scanner = new Scanner(System.in);

        // Prompt the user for input
        System.out.println("Input");

        // Read the integer from the user
        int N = scanner.nextInt();

        // Close the scanner
        scanner.close();

        // Print the input number
        System.out.println("Output");
        System.out.println(N);
    }
}

Learning course: Practice Java
Problem Link: CodeChef: Practical coding for everyone


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




`type or paste code here`