code for Single Number