puts gets.delete("-").length/3