#include using namespace std; ifstream fin("echipe.in"); ofstream fout("echipe.out"); int n, i; long long s; int main() { fin>>n; s=0;i=0; while(s