#include <stdio.h>
#include <string.h>

int main(void){
  int n = 0;
  char s[200001][11] = {0};
  int count = 0;
  int i = 0, j = 0;
  
  scanf("%d",&n);
  
  for(i = 0; i < n; i++){
    scanf("%*c%s",s[count]);
    if(i == 0){
      count++;
      continue;
    }
    for(j = 0; j < count ;j++){
      if(strcmp(s[j],s[count])){
        count++;
        break;
      }
    }
  }
  
  printf("%d",count);
  
  return 0;
}