import sys



if __name__ == '__main__':

    import doctest

    doctest.testmod()

    a, b, c = list(map(int, sys.stdin.read().split()))

    if a < b < c:

        print("Yes")

    else:

        print("No")

#!/usr/bin/env python

#-*- coding: utf-8 -*-



# http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_2_B



if __name__ == '__main__':

    a, b, c = list(map(int, input().split()))

    if a < b < c:

        print("Yes")

    else:

        print("No")

import sys

if __name__ == "__main__":
    import doctest

    doctest.testmod()
    a, b, c = list(map(int, sys.stdin.read().split()))
    if a < b < c:
        print("Yes")
    else:
        print("No")

#!/usr/bin/env python
# -*- coding: utf-8 -*-
# http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_2_B
if __name__ == "__main__":
    a, b, c = list(map(int, input().split()))
    if a < b < c:
        print("Yes")
    else:
        print("No")

-import sys - +#!/usr/bin/env python +# -*- coding: utf-8 -*- +# http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_2_B -    import doctest - -    doctest.testmod() -    a, b, c = list(map(int, sys.stdin.read().split())) +    a, b, c = list(map(int, input().split()))