#include #include #include using namespace std; using namespace atcoder; using mint = modint998244353; #define rep(i,n) for (int i = 0; i < (n); ++i) #define Inf32 1000000001 #define Inf64 4000000000000000001 int main(){ long long N; cin>>N; long long ans = 0; vector> A; for(long long i=0;i<=N;i++){ for(long long j=0;j<=N;j++){ if(i==0&&j==0)continue; if(i*j>N)break; long long n = N - i * j; if(n%(i+j)==0){ A.push_back({n/(i+j),i,j}); } } } cout<