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 C++14 (GCC 5.4.1) (judge verdict: Wrong Answer)

#include <bits/stdc++.h>

using namespace std;

#define i64 int64_t
#define llong long long int
#define ldouble long double
#define rep(i, n) for (int i = 0; i < n; ++i)
#define fore(i,a) for (auto &i : a)
#define repr(i, n) for (int i = n; i >= 0; --i)
#define stl_rep(itr, x) for (auto itr = x.begin(); itr != x.end(); ++itr)
#define all(x) x.begin(), x.end()
#define allr(x) x.rbegin(), x.rend()

const static int mod = 1000000000 + 7;
const static int inf = INT_MAX / 2;
const static llong INF = LLONG_MAX / 2;
const static double eps = 1e-10;
const static int dx[] = {1, 0, -1, 0};
const static int dy[] = {0, 1, 0, -1};

template<typename T> bool chmax(T &a, const T &b) { if (a < b) { a = b; return 1;} return 0;}
template<typename T> bool chmin(T &a, const T &b) { if (b < a) { a = b; return 1;} return 0;}

template<typename T> vector<T> slide_max(const vector<T> &V, int width) {
    deque<T> deq;
    vector<T> ret;

    for(int i = 0; i < V.size(); i++) {
        while(!deq.empty() && V[deq.back()] <= V[i]) {
            deq.pop_back();
        }

        deq.push_back(i);

        if(i - width + 1 >= 0) {
            ret.emplace_back(V[deq.front()]);
            if(deq.front() == i - width + 1) deq.pop_front();
        }
    }
    
    return ret;
}

signed main (int argc, char *argv[]) {
    cin.tie(0);
    ios::sync_with_stdio(false);

    int a, b, c;
    cin >> a >> b >> c;
    if (a&b&c == a) cout << "Yes" << endl;
    else cout << "No" << endl;
    
    return 0;
}