#include #include #include #include #define REP(i,k,n) for(int i=k;i> l >> k; int ans = 0; while(l > k*2) { l -= k*2; ans += k; } cout << ans << endl; return 0; }