
import java.awt.Point;
import java.io.*;
import java.lang.reflect.Array;
import java.math.BigInteger;
import java.util.*;

import static java.lang.Math.*;
 
public class HelloWorld implements Runnable{
       
    final boolean ONLINE_JUDGE = System.getProperty("ONLINE_JUDGE") != null;
    final boolean LOCAL = System.getSecurityManager() == null;
    final String input = "input.txt";
    final String output = "output.txt";
   
    BufferedReader in;
    PrintWriter out;
    StringTokenizer tok = new StringTokenizer("");
   
    void init() throws FileNotFoundException{
            if (!LOCAL){
                    in = new BufferedReader(new InputStreamReader(System.in));
                    out = new PrintWriter(System.out);
            }else{
            	in = new BufferedReader(new InputStreamReader(System.in));
                out = new PrintWriter(System.out);
                    //in = new BufferedReader(new FileReader(input));
                    //out = new PrintWriter(output);
            }
    }
       
        String readString() throws IOException{
                while(!tok.hasMoreTokens()){
                        try{
                                tok = new StringTokenizer(in.readLine());
                        }catch (Exception e){
                                return null;
                        }
                }
                return tok.nextToken();
        }
       
        int readInt() throws IOException{
                return Integer.parseInt(readString());
        }
       
        long readLong() throws IOException{
                return Long.parseLong(readString());
        }
       
        double readDouble() throws IOException{
                return Double.parseDouble(readString());
        }
       
        public static void main(String[] args){
                new Thread(null, new HelloWorld(), "", 256 * (1L << 20)).start();
        }
       
        long timeBegin, timeEnd;
 
        void time(){
                timeEnd = System.currentTimeMillis();
                System.err.println("Time = " + (timeEnd - timeBegin));
        }
       
        public void run(){
                try{
                        timeBegin = System.currentTimeMillis();
                        init();
                        solve();
                        out.close();
                        time();
                }catch (Exception e){
                        e.printStackTrace(System.err);
                        System.exit(-1);
                }
        }
        
        int mod = 1000000007; 
        
               
        boolean Find(char a, char b, char c, int n, int m, int k)
        {
            if (n == 0 && m == 0 && k == 0 && a == 'R' && b == 'G' && c == 'B')
                {
                        return true;
                }
                
                boolean res = false;
                if (n > 0)
                {
                        res = Find(b, a, c, n - 1, m , k );
                        if (res)
                                return true;
                }
                if (m > 0)
                {
                        res = Find(c, b, a, n, m -1 , k );
                        if (res)
                                return true;
                }
                if (k > 0)
                {
                        res = Find(a, c, b, n, m , k-1 );
                        if (res)
                                return true;
                }
                return false;
        }
        
        void solve() throws IOException{
                int n = readInt();
                int m = readInt();
                int k = readInt();
                
                String s = readString();
                char[] arr = s.toCharArray();
                                
                boolean res= Find(s.charAt(0), s.charAt(1), s.charAt(2), n, m, k);
                if (res)
                {
                        out.print("Yes");
                }else
                {
                       
                        out.print("No");
                }
        }
}