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 (GCC 5.4.1) (judge verdict: Accepted)

#include <stdio.h>
#include <stdbool.h>

bool is_equilateral_triangle(unsigned char *A, unsigned char *B, unsigned char *C)
{
    if (*A == *B && *B == *C) { return true;  }
    else                      { return false; }
}

void exawizard2019_a(unsigned char *A, unsigned char *B, unsigned char *C)
{
    if (is_equilateral_triangle(A, B, C)) { printf("%s\n", "Yes"); }
    else                                     { printf("%s\n", "No" ); }
}

int main (void)
{
    /* variables for main process */
    unsigned char A, B, C;

    /* support variables for main process */
    int retval_scanf;

    // STEP.01
    // read out the given integers
    retval_scanf = scanf("%hhu %hhu %hhu", &A, &B, &C);

    // STEP.02
    // determine if there exists an equilateral triangle whose sides have lengths A, B and C.
    exawizard2019_a(&A, &B, &C);
    
    // STEP.TRUE_END
    return 0;
}