#include #define rep(i,l,n) for(int i=l;i vi; typedef vector vvi; typedef pair pii; int main(){ int n,k; rep(i,0,1000) cin>>n>>k; o(500); }