#include using namespace std; typedef long long int ll; #define debugv(v) printf("L%d %s => ",__LINE__,#v);for(auto e:v){cout< ostream& operator <<(ostream &o,const pair p){o<<"("<>n;n-=2015LL; printf("%d\n",(n/400LL)*memo[399]+memo[n%400]); return 0; }