#include <stdio.h>

int main() 
{
    int a, b, c;
    int x, z, y, k;
    scanf("%d %d %d ", &a, &b, &c);

    x = (a == b);
    z = (b == c);
    y = (a != b);
    k = (b != c);
    
    printf("%d, %d, %d, %d", x, z, y, k);

    return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: