Codeforces Round #141 (Div. 2)
はい。
http://codeforces.com/contest/228
A. Is your horseshoe on the other hoof?
implementation
ざっくりと大意
・\(s_1\)から\(s_4\)がそれぞれ異なったものになるように??
方針のようなもの
・set型使えばよさそう
l=map(int, raw_input().split()) print 4-len(set(l))