#include <bits/stdc++.h>
using namespace std;
pair<int, string> A[105], B[105];
int main() {
  int N;
  cin >> N;
  for (int i = 0; i < N; i++) {
    string tmp;
    cin >> tmp;
    A[i] = {tmp.length(), tmp};
  }
  for (int i = 0; i < N; i++) {
    string tmp;
    cin >> tmp;
    B[i] = {tmp.length(), tmp};
  }
  sort(A, A + N);
  sort(B, B + N);
  int Mini = 0;
  int L1 = 0, L2 = 0, M1 = 0, M2 = 0, S1 = 0, S2 = 0;
  for (int i = 0; i < N; i++) {
    if (A[i].first == 1) {
      if (A[i].second == "L") L1++;
      if (A[i].second == "M") M1++;
      if (A[i].second == "S") S1++;
      if (B[i].second == "L") L2++;
      if (B[i].second == "M") M2++;
      if (B[i].second == "S") S2++;
      continue;
    }
    for (int j = 0; j < A[i].first; j++) {
      if (A[i].second[j] == B[i].second[j]) continue;
      Mini++;
    }
  }
  int diff = abs(L1 - L2) + abs(M1 - M2) + abs(S1 - S2);
  Mini += diff / 2;
  cout << Mini;
  return 0;
}
