   program abc106b
      implicit none
      integer::n
      integer::i,count
      
         read *, n
         
         count=0
         do i=1,n
            if (mod(n,i)==0) count=count+1
         end do
         
         print *, count
         
   end program abc106b