In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2031, 3257, 305, 'p', 'c', 5539, 6251, 8473, 1403, 6253, 2387, 4009, 'z', '7929', 'z', 'D', '9271', 'I', 'C', 'e', 'c', '2979', '6323', 'u', 'y', '2591', 'p', '6029', '495', 'A', 'K', 'o', 'J', 'M', 3579, 6693, 4617, 'Z', 'Z', 'w', 7709, 'H'], ['b', 'N', 'x', 1631, 5143, 'L', 137, 7569, 'f', 1939, 8131, 9721, '7929', 'z', 'D', '9271', 'I', 'C', 'e', 'c', '2979', '6323', 'u', 'y', '2591', 'p', '6029', '495', 'A', 'x', 4437, 6313, 1281, 'q', 'z', 'e', 'k', 1487, 1041, 'v', 'X', 'c', 'j', 891, 'x', 'p']