Advertisement
Promi_38

abc 218A

Sep 28th, 2021
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.19 KB | None | 0 0
  1. #include<stdio.h>
  2.  
  3. int main()
  4. {
  5.     int t;
  6.     scanf("%d", &t);
  7.    
  8.     char s[10];
  9.     scanf("%s", s);
  10.        
  11.     if(s[t-1] == 'o') printf("Yes\n");
  12.     else printf("No\n");
  13. }
  14.  
  15.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement