/*为什么输出1000000呢???因为根据所给数据范围,1000000一定不是解*/
#include <bits/stdc++.h>
using namespace std;
using ll =long long;
void solve()
{
int n;cin>>n;for (int i = 0;i < 3*n;i++)
{
int t;cin>>t;
}
cout<<1000000<<'\n';
}
int main() {
ios::sync_with_stdio(false);cin.tie(nullptr);solve();return 0;
}
// 64 位输出请用 printf("%lld")

京公网安备 11010502036488号