func_code_string: #include <bits/stdc++.h>   using namespace std;   const int N = (int)2e5 + 5;   const int INF = (int)1e9 + 7;   int dx[8] = {1, 0, -1, 0, -1, -1, 1, 1};   int dy[8] = {0, 1, 0, -1, -1, 1, -1, 1};   int ini() {     int x;     scanf( %d , &x);     return x;   }   long long inl() {     long long x;     scanf( %lld , &x);     return x;   }   vector<int> v;   int main() {     int n, i, j, m;     n = ini();     m = ini();     for (i = 1; i <= n; i++) {       int x = ini();       v.push_back(x);     }     sort(v.begin(), v.end());     for (i = 1; i <= m; i++) {       int x;       std::vector<int>::iterator low, up;       x = ini();       up = upper_bound(v.begin(), v.end(), x);       cout << (up - v.begin()) <<    ;     }     return 0;   }   