E. A Color Game
time limit per test
3 seconds
memory limit per test
1024 megabytes
input
standard input
output
standard output
Examples
Input
BBBRRRRRRGGGB 3
Output
Yes
Input
BBBRRRRRRGGGB 4
Output
No