#include using namespace std; using ll = long long; unsigned long long xor64(){ static unsigned long long x = 88172645463325252LL; x ^= (x << 13); x ^= (x >> 7); return (x ^= (x << 17)); } int main(){ ios::sync_with_stdio(false); cin.tie(0); int n, k, S = 50; cin >> n >> k; for(int i = 0; i < n; i++){ int B, M, E; E = xor64() % S + 1; B = xor64() % S + 1; M = xor64() % B + 1; cout << B << ' ' << M << ' ' << E << '\n'; } }