You are given three integers A, B and C. Determine if there exists an equilateral…
- User
You are given three integers A, B and C.
Determine if there exists an equilateral triangle whose sides have lengths A, B and C.
Constraints
- All values in input are integers.
- 1 \leq A,B,C \leq 100
Input
Input is given from Standard Input in the following format:
A B C
Output
If there exists an equilateral triangle whose sides have lengths A, B and C, print
Yes; otherwise, printNo.Examples
Input
2 2 2
Output
Yes
Input
3 4 5
Output
No
Assistant
python# Read input values a, b, c = map(int, input().split()) # Check if all sides are equal if a == b == c: print("Yes") else: print("No")
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.