#include using namespace std; int main() { int t, r; cin >> t >> r; for (int i = 0; i < t; i++) { int n; cin >> n; for (int j = 0; j < n; j++) { int s; cin >> s; } cout << 0 << endl; } return 0; }