#include <bits/stdc++.h>   using namespace std;   int main() {     long long n, k;     cin >> n >> k;     long long v[n + 10];     for (long long i = 0; i < n; i++) {       cin >> v[i];     }     sort(v, v + n);     k--;     long long div = k / n;     long long cnt = 0;     long long val = v[div];     for (long long i = 0; i < n; i++) {       if (v[i] == val) cnt++;       if (v[i] < val) k = k - n;     }     long long amt = cnt;     long long now = k / amt;     cout << val <<     << v[now] << endl;   }   