#138. inOrderEqual

inOrderEqual

Background

Description

Given three ints, a b c, return true if they are in strict increasing order, such as 2 5 11, or 5 6 7, but not 6 5 7 or 5 5 7. However, with the exception that if "equalOk" is true, equality is allowed, such as 5 5 7 or 5 5 5.

Format

Input

Output

Samples

2 5 11 false
true
5 7 6 false
false
5 5 7 true
true

Limitation

1s, 1024KiB for each test case.