text: const arr = [3, 6, 1, 3, 6, 10, 32, 31, 90, 90, 7];
  let count = 0;
  
  function selectionSort(array) {
    for (let i = 0; i < array.length; i++) {
      let indexMin = i;
      for (let j = i+1; j < array.length; j++) {
        if (array[j] < array[indexMin]) {
          indexMin = j;
        }
        count += 1;
      }
      let tmp = array[i];
      array[i] = array[indexMin];
      array[indexMin] = tmp;
    }
    return array;
  }
  
  // console.log(selectionSort(arr), "sorted array");
  // console.log(count, "operations");
  
  // String.fromCharCode(...(str.split('').map((c, i) => c.charCodeAt(0) - i % 10))) === 'TxnbO^lbhk-emoaq_k' /* find srt ? */
  
  console.log(String.fromCharCode('TxnbO^lbhk-emoaq_k'.split("").map((c, i) => console.log(c, i, c.charCodeAt(0) - i % 10))));
  console.log(String.fromCharCode(84, 119, 108, 95, 75, 89));
  console.log(String.fromCharCode('TxnbO^lbhk-emoaq_k'.split("").map((c, i) => console.log(c, i, c.charCodeAt(0)))));
  console.log(String.fromCharCode(84, 121, 112, 101, 83, 99, 114, 105, 112, 116, 45, 102, 111, 114, 101, 118, 101, 114));