#include using namespace std;
int main(){
char str [] = "dd yhd yw dcjkayt dvqv auyj fbajk dyusdv sddw";
int k = 9; //position
int before= 0, after = 0, space = 0;
for(int i = 0; i <= k; i++){
if(str[i] == ' '){
space++;
}
}
if(str[k] != ' '){
for(int i = k + 1; str[i]; i++){
if(str[i] == ' ' || str[i] == <span>'\0'){
after = i;
break;
}
}
for(int j = k - 1; j >= 0; j--){
if(str[j] == ' ' || j == 0){
before = j;
break;
}
}
cout}