Toggle navigation
Discord
YouTube
Facebook
Instagram
english
english
українська
Algotester 4.5
Build 601
2025-03-31
Log In
Contact Us
College
Sponsors
Donate
Sources
Python 3
s = input() x, y = map(int, input().split()) print('YES' if s.count('R') >= x and s.count('U') >= y else 'NO')