func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     int n, k, a;     cin >> n >> k;     a = n - (k - (2 * n));     if (a >= 0)       cout << a;     else       cout << 0;     return 0;   }   