package main

import (
	"bufio"
	"fmt"
	"os"
	"strconv"
)

var sc = bufio.NewScanner(os.Stdin)

func nextInt() int {
	sc.Scan()
	i, e := strconv.Atoi(sc.Text())
	if e != nil {
		panic(e)
	}
	return i
}

func nextStr() string {
	sc.Scan()
	s := sc.Text()
	return s
}

func getRuneAt(s string, i int) rune {
	rs := []rune(s)
	return rs[i]
}

func main() {
	sc.Split(bufio.ScanWords)

	n := nextInt()
	str := nextStr()

	var count = 0
	for index := 0; index < n; index++ {
		if getRuneAt(str, index) == rune('r') {
			count++
		}
		if n%2 != 0 {
			n++
		}
		if count > (n / 2) {
			fmt.Print("Yes")
			return
		}
	}
	fmt.Print("No")
}