import std.stdio, std.array, std.conv, std.string;

void main() {
  string[] input = split(readln());
  int[] a = new int[3];

  for (int i = 0; i < 3; ++i) {
    a[i] = to!int(input[i]);
  }

  if (a[0] < a[1] && a[1] < a[2]) {
    writeln("Yes");
  } else {
    writeln("No");
  }
}