I would like help with my java program. I'm trying to compare two different inputs from the user and check if these inputs are between the minimum and maximum age. Also, I need to have two methods in the program and use the boolean method but I got stuck on it. Can someone help me to understand it better and fix it?
What I have so far is:

```java
import java.util.Scanner;
class Main {
  public static void main(String[] args) {
    String nome, nomes;
    int ida, idade;

    final int MIN_AGE = 18;
    final int MAX_AGE = 65;

    Scanner diSexta = new Scanner (System.in);
    System.out.println("Please enter first person's name:");
    nome = diSexta.nextLine();
    System.out.print("Please enter " + nome + "'s age:");
    ida = diSexta.nextInt();
    diSexta.nextLine();
    System.out.println("Please enter second person's name:");
    nomes = diSexta.nextLine();
    System.out.print("Please enter " + nomes + "'s age:");
    idade = diSexta.nextInt();

    public static boolean estado() {
    if (ida >= MIN_AGE || ida <= MAX_AGE && idade >= MIN_AGE || idade <= MAX_AGE) {
        return true;
    } else {
        return false;
    }
}

```