import java.util.Scanner; public class No785{ public static void main(String[]args) { int R = comb(); int G = comb(); int B= comb(); int out = (R*G*B); System.out.println(out); } public static int comb() { Scanner N = new Scanner(System.in); String COLL =N.next(); int leg = COLL.length(); int leng = ((leg-1)/2)+1; leng = leng^2; int comb =256-leng; return comb; } }