to check if given side lengths is the triangle valid,scalene,eqor isoceles?

my code to solve above problem:
a,b,c = map(int,input().split())
if a+b<c or b+c<a or c+a<b:
print(-1)
elif a==b and b==c:
print(1)
elif a==b or b==c or a==c:
print(2)
else:
print(3)

can someone tell me why my code is failing? or what corner case am I not considering?

It should have been <=, right?

Yes, I realised after posting. But I didn’t know how to take the post down. Thanks anyways!