Question d’entretien chez Bentley Systems

Make a program that matches opened and closed brackets.