In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5939, 4543, 'X', 'g', 'k', 3991, 'o', 4931, 6899, 'm', 6355, 'c', 2249, 'Z', 'l', 1529, 'F', 'A', 4819, 'n', 'G', '5071', 'r', 'C', 'k', '8257', 'J', '1771', 'N', '2049', '61', 't', '641', '7167', 'G', '6993', '7731', '3887', '9005', '9981', 'u', 'i', '2107', 'G', '3837', 'a', 'w', 'a', 't', 'Q'], [4083, 9289, 'n', 'G', '5071', 'r', 'C', 'k', '8257', 'J', '1771', 'N', '2049', '61', 't', '641', '7167', 'G', '6993', '7731', '3887', '9005', '9981', 'u', 'i', '2107', 'G', '3837', 'a', 'L', 'H', 'z']