Add n queens and single number