请问我这个代码哪里错了
import java.util.Scanner;
public class HelloWorld {
public static void main(String[] args) {
Scanner s=new Scanner(System.in);
int age=s.nextInt();
System.out.println("Please input your age");
if(age>=18)
{System.out.println("已经成年");}
else
{System.out.println("未成年");}
}
}