public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int choise;

        System.out.println("Enter 1 to run test with java.util.concurrent");
        System.out.println("Enter 2 to run test without java.util.concurrent");

        choise = scanner.nextInt();

        switch (choise) {
            case 1:
                concurrentTest();
                break;
            case 2:
                noConcurrentTest();
                break;
            default:
                System.out.println("Wrong option!");
                break;
        }
    }