In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9945, 'B', 'P', 1687, 1255, 'E', 769, 2539, 'W', '9795', 'y', '1335', 'H', '999', '5451', 'V', '1087', 'e', 'H', '7027', '7313', 'v', '1101', 'j', 'Q', '2191', '8039', '1239', 'I', 'S', 'M', 'P', '4387', '4795', 'X', 'l', 'G', 'w', 'E', 'G'], [1097, 3119, 'V', 'i', 'v', 'W', '9795', 'y', '1335', 'H', '999', '5451', 'V', '1087', 'e', 'H', '7027', '7313', 'v', '1101', 'j', 'Q', '2191', '8039', '1239', 'I', 'S', 'M', 'P', '4387', '4795', 'X', 'l', 'O', 7411, 'y', 'H', 7657, 2977, 'T', 'R', 265, 6097, 'g', 'a', 'R', 3391, 'd', 6175, 'm', 143, 4285, 5701, 2557, 'f']