What is scn and what is the error?

scn is showing a resource leak due to which the code is not runnimg

add these 2

import java.util.*;
public class Main{

also you can add scn.close() at the end of program to remove the warning