#include <iostream>
int numunique(int idx, int idy, int idz) {
return (idx==idy && idx==idz && idy==idz) ? 1 : (idx!=idy && idx!=idz && idy!=idz) ? 3 : 2;
}
int main(int argc, char* argv[]) {
std::cout << "Enter 3 numbers: ";
int x,y,z; std::cin>>x>>y>>z;
std::cout << "There is/are " << numunique(x,y,z) << " unique number(s).\\";
return 0;
}