import java.util.Random;
public class jisheng
{
public static void main(String [] args)
{
Random random = new Random();
A a =new A();
int [] arr = new int [10];
for(int i = 0 ; i < 10 ; i++)
{
arr[i] = random.nextInt(101);
}
System.out.print(a.getCount(arr));
}
}
class A
{
private static int ji = 0;
private static int ou = 0;
public static int getCount(int [] arr)
{
for(int i = 0 ; i < 10 ;i++)
{
if( arr[i] % 2 == 0)
{
ou++;
}
else
{
ji++;
}
}
if( ou > ji )
{
System.out.println("偶数多");
return ou-ji;
}
else if( ou < ji)
{
System.out.println("奇数多");
return ji-ou;
}
else
{
System.out.println("一样多");
return 0;
}
}
}
public class jisheng
{
public static void main(String [] args)
{
Random random = new Random();
A a =new A();
int [] arr = new int [10];
for(int i = 0 ; i < 10 ; i++)
{
arr[i] = random.nextInt(101);
}
System.out.print(a.getCount(arr));
}
}
class A
{
private static int ji = 0;
private static int ou = 0;
public static int getCount(int [] arr)
{
for(int i = 0 ; i < 10 ;i++)
{
if( arr[i] % 2 == 0)
{
ou++;
}
else
{
ji++;
}
}
if( ou > ji )
{
System.out.println("偶数多");
return ou-ji;
}
else if( ou < ji)
{
System.out.println("奇数多");
return ji-ou;
}
else
{
System.out.println("一样多");
return 0;
}
}
}