n=0 s=0 [*0..30].combination(gets.to_i){|a| r=0 a.each{|e|r|=1<