s = gets.chomp if s[0] == '-' puts 0 else puts s[..-3] end