#include <iostream>
using namespace std;

int main() {
	int a, b, c;
	cin >> a >> b >> c;
	int ans = 3;
	if (a == b && b == c) {
		cout << "1" << endl;
		return 0;
	}
	if (a == b) {
		ans--;
	}
	if (b == c){
		ans--;
		}
	if (a == c) {
		ans--;
	}
	cout << ans << endl;
	return 0;
}
#include <iostream>
using namespace std;

int main() {
	int a, b, c;
	cin >> a >> b >> c;
	int ab, ac, bc;
	ab = a + b;
	ac = a + c;
	bc = b + c;

	if (a == bc || b == ac || c == ab) {
		cout << "Yes" << endl;
		return 0;
	}
	cout << "No" << endl;
	return 0;
}
