import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

public class Main {
    public static void main(String[] args) {
        List<Question> questionPool = initializeQuestionPool();
        
       questionPool.get(0).askQuestion();
    }

    public static List<Question> initializeQuestionPool() {
        List<Question> questions = new ArrayList<>();
        
        // Question 1: Single correct answer
        List<Answer> answers1 = Arrays.asList(
                new Answer("Nile", true),
                new Answer("Amazon", false),
                new Answer("Yangtze", false),
                new Answer("Mississippi", false)
        );
        List<Answer> correctAnswers1 = Arrays.asList(answers1.get(0));
        questions.add(new Question("What is the longest river in the world?", answers1, correctAnswers1));
        
        // Question 2: Single correct answer
        List<Answer> answers2 = Arrays.asList(
                new Answer("Mount Everest", true),
                new Answer("K2", false),
                new Answer("Kangchenjunga", false)
        );
        List<Answer> correctAnswers2 = Arrays.asList(answers2.get(0));
        questions.add(new Question("Which is the highest mountain in the world?", answers2, correctAnswers2));
        
        // Question 3: Single correct answer
        List<Answer> answers3 = Arrays.asList(
                new Answer("Sahara", true),
                new Answer("Gobi", false),
                new Answer("Kalahari", false),
                new Answer("Thar", false)
        );
        List<Answer> correctAnswers3 = Arrays.asList(answers3.get(0));
        questions.add(new Question("Which is the largest desert in the world?", answers3, correctAnswers3));
        
        // Question 4: Single correct answer
        List<Answer> answers4 = Arrays.asList(
                new Answer("Asia", true),
                new Answer("Africa", false),
                new Answer("North America", false),
                new Answer("Europe", false)
        );
        List<Answer> correctAnswers4 = Arrays.asList(answers4.get(0));
        questions.add(new Question("Which is the largest continent by area?", answers4, correctAnswers4));
        
        // Question 5: Single correct answer
        List<Answer> answers5 = Arrays.asList(
                new Answer("Australia", true),
                new Answer("Greenland", false),
                new Answer("New Guinea", false),
                new Answer("Borneo", false)
        );
        List<Answer> correctAnswers5 = Arrays.asList(answers5.get(0));
        questions.add(new Question("Which is the smallest continent by area?", answers5, correctAnswers5));
        
        // Question 6: Single correct answer
        List<Answer> answers6 = Arrays.asList(
                new Answer("Vatican City", true),
                new Answer("Monaco", false),
                new Answer("San Marino", false),
                new Answer("Liechtenstein", false)
        );
        List<Answer> correctAnswers6 = Arrays.asList(answers6.get(0));
        questions.add(new Question("Which is the smallest country in the world?", answers6, correctAnswers6));
        
        // Question 7: Single correct answer
        List<Answer> answers7 = Arrays.asList(
                new Answer("Pacific Ocean", true),
                new Answer("Atlantic Ocean", false),
                new Answer("Indian Ocean", false),
                new Answer("Arctic Ocean", false)
        );
        List<Answer> correctAnswers7 = Arrays.asList(answers7.get(0));
        questions.add(new Question("Which is the largest ocean in the world?", answers7, correctAnswers7));
        
        // Question 8: Single correct answer
        List<Answer> answers8 = Arrays.asList(
                new Answer("Brazil", true),
                new Answer("Argentina", false),
                new Answer("Peru", false),
                new Answer("Chile", false)
        );
        List<Answer> correctAnswers8 = Arrays.asList(answers8.get(0));
        questions.add(new Question("Which country has the largest area in South America?", answers8, correctAnswers8));
        
        // Question 9: Single correct answer
        List<Answer> answers9 = Arrays.asList(
                new Answer("Russia", true),
                new Answer("Canada", false),
                new Answer("China", false),
                new Answer("United States", false)
        );
        List<Answer> correctAnswers9 = Arrays.asList(answers9.get(0));
        questions.add(new Question("Which is the largest country in the world by area?", answers9, correctAnswers9));
        
        // Question 10: Multiple correct answers
        List<Answer> answers10 = Arrays.asList(
                new Answer("Amazon", true),
                new Answer("Nile", false),
                new Answer("Paraná", true),
                new Answer("Mississippi", false)
        );
        List<Answer> correctAnswers10 = Arrays.asList(answers10.get(0), answers10.get(2));
        questions.add(new Question("Which of the following rivers flow in Brazil?", answers10, correctAnswers10));
        
        return questions;
    }

}