Problem:
Range

Write a program which reads three integers a, b and c, and prints "Yes" if a < b < c, otherwise "No".

Input

Three integers a, b and c separated by a single space are given in a line.

Output

Print "Yes" or "No" in a line.

Constraints

0 ≤ a, b, c ≤ 100

Sample Input 1

1 3 8

Sample Output 1

Yes

Sample Input 2

3 8 1

Sample Output 2

No

Solution in JAVA (judge verdict: Accepted)

public class Main{
	
	public static void main(String[] args){
		for(java.util.Scanner sc: java.util.stream.Stream.of(new java.util.Scanner(System.in)).collect(java.util.stream.Collectors.toList())) {
			if(java.util.stream.IntStream.of(0)
				.peek(I -> 
					judgeRange(java.util.stream.IntStream.rangeClosed(1, 3)
						.map(J -> sc.nextInt())
						.mapToObj(Integer::valueOf)
						.collect(java.util.stream.Collectors.toList())
					)
				).count() == 0
			) {}
		}
	}
	
	static void judgeRange(java.util.List<Integer> list) {
		if(list.get(0) < list.get(1)&& list.get(1) < list.get(2)) {
			if(java.util.stream.IntStream.of(0).peek(I -> System.out.println("Yes")).count() == 0) {}
		}else {
			if(java.util.stream.IntStream.of(0).peek(I -> System.out.println("No")).count() == 0) {}
		}
	}
}