Resource leak: 'input' is never closed(Java)



I am learning java programming as a beginner with a visual studio code editor, when I run my java programming code, I get an error that's 

Resource leak: 'input' is never closed(Java) . As you see above the image, 

Scanner input =new scanner(system.in);


I hope you can fetch this problem, no problem I am with you 


just need to close the input like the below...


input.close();


or you can show my video below...




the problem is solved now 
thanks...

IndentationError: unexpected indent Problem Solve Python VS CODE

see this video