补全下面程序空白处,使程序能够正确运行。

img

1、new PrintStream(System.out)
2、new Scanner(System.in)
3、scan.nextInt()
4、break
5、ps.close()
6、scan.close()