In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Q: [8223, 'n', 2429, 'e', 'o', '8539', '9421', 'M', 'J', '1221', '7695', 'Y', '535', '115', '8683', 'd', 'W', 'z', 'H', 'Q', 1615], ['J', 'f', 9935, 'J', 's', 'm', 5775, 615, 3195, 'N', '8539', '9421', 'M', 'J', '1221', '7695', 'Y', '535', '115', '8683', 'Y', 'f', 7241, 'N', 'd', 'p']
A:
8539, 9421, M, J, 1221, 7695, Y, 535, 115, 8683