#include<iostream>
#include<windows.h>
using namespace std;
int main()
{
    int t=100;
    while(t--)
    {
        system("data > a+b.in");
        system("zj < a+b.in > 1.out");
        system("duipai < a+b.in > 2.out");
        if(system("fc 1.out 2.out"))   break;
    }
    system("pause");
    return 0;
}