In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1479, 3663, 'O', 2277, 'B', '6799', '4529', '497', 'V', 'S', 'Z', 'E', 'G', 'C', 4663], [951, 'G', 8587, 2489, 'X', 'q', 'e', 7501, 5959, 'B', '6799', '4529', '497', 'V', 'S', 'Z', 'E', 'G', 'n', 'l', 'U', 'g', 'S', 6917]