puts gets.count('0')-8