How to use Run ruby main.rb Input the number of brackets. ex) 6 Input brackets. ex) ))((() Example $ ruby main.rb 6 ))((() (())((()))