In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

[3535, 'o', 'Q', 'P', '7879', 'O', '8223', '1721', 'e', 'i', 'N', 'E', 7863, 8523], ['L', 'X', 'Q', 'P', '7879', 'O', '8223', '1721', 'e', 'H', 'b', 4607, 'K', 6987, 'X', 1781]
Q, P, 7879, O, 8223, 1721, e