numb = int(input()) counter = 1 datt =2 tmpd = 0 tmpd_s = numb while(numb>=datt): tmpd = int(numb/datt) if tmpd != tmpd_s: counter = counter + 1 tmpd_s = tmpd datt = datt+1 print(counter)