X, Y, Z = map(int, input().split()) print(len([x for x in [X, Y] if x <= Z]))