solution for single number 2