#include<bits/stdc++.h>
using namespace std;
int main(){
int T = 1000;
int timelimit = 1200;
for(int i = 1; i <= T; ++i){
system("data.exe > data.in");
double st = clock();
system("sol.exe < data.in > data.out");
double ed = clock();
system("test.exe < data.in > data.ans");
if(system("fc data.out data.ans")){
cout<<i<<": Wrong Answer";
return 0;
}
else if(ed - st >= timelimit){
cout<<i<<": TLE";
return 0;
}
else{
printf("%d# Accepted time:%.0lfms
",i,ed - st);
}
//printf("%d# time:%.0lfms
",i,ed-st);
}
}