func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     long int n, k, t;     cin >> n >> k >> t;     if (t < k)       cout << t << endl;     else if (t > n)       cout << k - (t - n) << endl;     else       cout << k << endl;   }   