public class EasyWinner
{
  public static void main( String[] args )
  {
    PowerBallEntry winner = new PowerBallEntry();
    PowerBallEntry attempt;
    long numberOfAttempts = 0;
    
    while ( true )
    {
      attempt = new PowerBallEntry();
      numberOfAttempts++;
      
      if ( attempt.matches(winner) )
        break;
    }
    
    System.out.println( "The winner is #" + numberOfAttempts );
  }
}