package main

import "fmt"

func main() {
	var (
		n int
		s string
	)
	fmt.Scan(&n, &s)

	countRed := 0
	for i := range s {
		if s[i] == 'R' {
			countRed++
		}
	}

	if countRed > len(s) {
		fmt.Println("Yes")
		return
	}
	fmt.Println("No")
}
