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

int main (void) {
    int ans = 1;
    int n;
    char s[200001][11];

    scanf("%d", &n);
    for ( int i=0; i<n; i++ )
        scanf("%s", s[i]);

    int same;
    for ( int i=0; i<n; i++ ) {
        same = 1;
        for ( int j=0; j<i; j++ ) {
            same = 0;
            if ( strcmp(s[i], s[j]) == 0 ) {
                same = 1;
                break;
            }
        }
        if ( same == 0 )
            ans++;
    }

    printf("%d\n", ans);
    return EXIT_SUCCESS;
}
