import java.util.Scanner; public class Main { public static void main(String args[]){ Scanner cin = new Scanner(System.in); String line = cin.next(); int count = line.length(); int zero_count = 0; int eight_count =0; char tmp; int result; for(int i=0;i