#include <bits/stdc++.h>   using namespace std;   long long N;   long long i, j;   vector<long long> v;   map<long long, long long> mp;   long long arr[200];   int main() {     scanf( %lld , &N);     for (i = 0; i < N; i++) scanf( %lld , &arr[i]);     sort(arr, arr + N);     long long ans = 0;     for (i = 0; i < N; i++) {       long long get = arr[i];       if (mp[arr[i]] == 1) {         continue;       } else {         ans++;         for (j = 1; j < 200; j++) {           mp[get * j] = 1;         }       }     }     cout << ans;     return 0;   }   