$/=get.words;my@a=get.split('l');for ^$2 -> $i {say([~] map {@a[$_]&&@a[$_].comb>=$2-$i??"o"!!"x"},^$1)}