#include using namespace std; #define int long long double X; int dp[6][110][110][610]; signed main() { cin >> X; int sum = X * 4; for (int point = 0; point <= 100; point++) { dp[0][point][point][point] = 1; } for (int i = 0; i < 5; i++) { for (int min_p = 0; min_p <= 100; min_p++) { for (int max_p = 0; max_p <= 100; max_p++) { if (min_p > max_p) continue; for (int sum_p = 0; sum_p <= 600; sum_p++) { if (dp[i][min_p][max_p][sum_p] == 0) continue; for (int point = 0; point <= 100; point++) { dp[i + 1][min(min_p, point)][max(max_p, point)][sum_p + point] += dp[i][min_p][max_p][sum_p]; } } } } } int ans = 0; for (int min_p = 0; min_p <= 100; min_p++) { for (int max_p = 0; max_p <= 100; max_p++) { for (int sum_p = 0; sum_p <= 600; sum_p++) { if (sum_p - min_p - max_p == sum) { ans += dp[5][min_p][max_p][sum_p]; } } } } cout << ans << endl; return 0; }