#include <stdio.h>
int main(){
	int i,a,y;
	scanf("%d",&a);
	for(i=1;i<=a;i++){
		if(a%i==0){
			y++;
		}
	}
printf("%d",y);
	return 0;
}