#include<stdio.h>
#include<math.h>
int main(){
long long n;
long long a=(n+1)*(n+2)/2;
long long b = a%x;
}
I2luY2x1ZGU8c3RkaW8uaD4KI2luY2x1ZGU8bWF0aC5oPgppbnQgbWFpbigpewoJbG9uZyBsb25nIG47CglpbnQgeD1wb3coMTAsOSkrNzsKCXNjYW5mKCIlbGxkIiwmbik7Cglsb25nIGxvbmcgYT0obisxKSoobisyKS8yOwoJbG9uZyBsb25nIGIgPSBhJXg7CglwcmludGYoIiVsbGQiLGIpOwp9