#include <bits/stdc++.h>
using namespace std;
int a[5][4];
int b[5][4];
int main() {
  int n, ans = 0;
  cin >> n;
  char s[10];
  for (int i = 0; i < n; ++i) {
    cin >> s;
    for (int i = 0, j = strlen(s); i < j; ++i) {
      if (s[i] == 'M')
        a[j][0] += 1;
      else if (s[i] == 'X')
        a[j][1] += 1;
      else if (s[i] == 'S')
        a[j][2] += 1;
      else if (s[i] == 'L')
        a[j][3] += 1;
    }
  }
  for (int i = 0; i < n; ++i) {
    cin >> s;
    for (int i = 0, j = strlen(s); i < j; ++i) {
      if (s[i] == 'M')
        b[j][0] += 1;
      else if (s[i] == 'X')
        b[j][1] += 1;
      else if (s[i] == 'S')
        b[j][2] += 1;
      else if (s[i] == 'L')
        b[j][3] += 1;
    }
  }
  for (int i = 1; i < 5; ++i) {
    for (int j = 0; j < 4; ++j) {
      ans += abs(a[i][j] - b[i][j]);
    }
  }
  ans /= 2;
  cout << ans << endl;
}
