using System; using System.Collections; using System.Collections.Generic; class TEST{ static void Main(){ Sol mySol =new Sol(); mySol.Solve(); } } class Sol{ public void Solve(){ double[][] P=new double[2][]; P[0]=new double[121]; P[0][60]=1.0; Dictionary dk=new Dictionary(); for(int i=1;i<=6;i++){ for(int j=4;j<=6;j++){ int diff=j-i; if(!dk.ContainsKey(diff))dk.Add(diff,0); dk[diff]++; dk[diff]++; } } Dictionary dn=new Dictionary(); for(int i=1;i<=6;i++){ for(int j=1;j<=6;j++){ int diff=j-i; if(!dn.ContainsKey(diff))dn.Add(diff,0); dn[diff]++; } } int now=0; int next=0; for(int i=0;iint.Parse(e));} static long[] rla(){return Array.ConvertAll(Console.ReadLine().Split(' '),e=>long.Parse(e));} static double[] rda(){return Array.ConvertAll(Console.ReadLine().Split(' '),e=>double.Parse(e));} }