java exception with scanner : i have a problem with scanner. When i compile it, there is no problems. but when i want to run this program, i get exception. Can any of you explain me reason of this problem?
  import java.util.Scanner;
public class CiagArytmetyczny {
    
    public static void main(String[] args) {
    	Scanner s = new Scanner("System.in");
    	System.out.println("Podaj dlugosc ciagu: ");
    	int dl = s.nextInt();
    	int element =2;
    	
    	
    for(int i=1; i<=dl; i++) {
    	element=element+3;
    	System.out.println(element);
    	
    }
    	
    }
}

Podaj dlugosc ciagu: 
Exception in thread "main" java.util.InputMismatchException
    at java.util.Scanner.throwFor(Scanner.java:864)    

    at java.util.Scanner.next(Scanner.java:1485)

    at java.util.Scanner.nextInt(Scanner.java:2117)

    at java.util.Scanner.nextInt(Scanner.java:2076)

    at CiagArytmetyczny.main(CiagArytmetyczny.java:8)

Process completed.