#include <stdio.h>
main() {
    int A, B, C;
    printf("Input A:");
    scanf("%d", &A);
    printf("Input B:");
    scanf("%d", &B);
    printf("Input C:");
    scanf("%d", &C);
    if ( C>A & C<B ) {
        printf("Yes");
    } else {
        printf("No");
    }
}
