模板
import java.io.*;
public class Main {
public static void main(String[] args) throws Exception {
// 在这里添加solution
}
// 快速输入
static class Reader {
static StreamTokenizer in = new StreamTokenizer(new BufferedReader(new InputStreamReader(System.in)));
static String next() throws IOException {
in.nextToken();
return in.sval;
}
static int nextInt() throws IOException {
in.nextToken();
return (int) in.nval;
}
static double nextDouble() throws IOException {
in.nextToken(