Problem:
Score : 100 points

Problem Statement

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, print No.

Sample Input 1

2 2 2

Sample Output 1

Yes

There exists an equilateral triangle whose sides have lengths 2, 2 and 2.

Sample Input 2

3 4 5

Sample Output 2

No

There is no equilateral triangle whose sides have lengths 3, 4 and 5.

Solution in JavaScript (node.js v5.12) (judge verdict: Accepted)

var lines = [];
var readline = require('readline');

var rl = readline.createInterface({
    input: process.stdin,
    output: process.stdout
});

rl.on('line', function(input) {
    lines.push(input);
});

rl.on('close', function() {
    var inputsAsArr = lines[0].split(' ');
    var sideA = inputsAsArr[0];
    var sideB = inputsAsArr[1];
    var sideC = inputsAsArr[2];

    var outputStr = (sideA === sideB && sideA === sideC && sideB === sideC) ? 'Yes' : 'No';
    console.log(outputStr);

    // var A = Number(lines[0].split(" ")[0]);
    // var B = Number(lines[0].split(" ")[1]);
    // var C = Number(lines[0].split(" ")[2]);
 
    // if (A === B && A === C && B === C) { console.log("Yes") }
    // else { console.log("No") }
});