func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     long long n;     cin >> n;     long long a[n], b[n];     for (int i = 0; i < n; i++) scanf( %lld , a + i);     for (int i = 0; i < n; i++) {       scanf( %lld , b + i);     }     long long count = 0, index = 0;     set<long long> s;     for (int i = 0; i < n; i++) {       long long count = 0;       while (!s.count(b[i])) {         s.insert(a[index]);         index++;         count++;       }       cout << count <<    ;     }     cout << endl;     return 0;   }   