Нет. так как мы не знаем число людей, которые хотят туда
program t3;
var a,b,c:real; {допустимо поменять на integer}
begin
writeln ('Vvedit a,b,c');
readln (a,b,c);
if (a<=b+c) and (b<=a+c) and (c<=a+b) then writeln ('0'); else
if (a=c) and (c=b) then writeln (3); else
if (a=c) or (a=b) or (b=c) then writeln ('2'); else
writeln ('1');
readln
end.
#версия python 3
a = int(input("Введите a: "))
b = int(input("Введите b: "))
if a>b:
res = a+b
print(str(res))
elif a<b:
res = a-b
print(str(res))
else:
print("Ошибка")