while (scanf("%s", a) != EOF)算是我刷题必用的