// write your code here......

char* cancover(rectangle b){
    if(length<width)
        swap(length,width);
    int b_length=b.getlength(),b_width=b.getwidth();
    if(b_length<b_width)
        swap(b_length,b_width);
    if(length>=b_length && width>=b_width)
        return "yes";
    return "no";
}