n = int(input()) print(n//10 if n > 0 else 0)