In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['N', 'h', 9917, 'v', '6955', '8769', 'i', 'H', 'U', 'I', 'A', '4871', 'y', '5001', 'J', '755', 'r', '6757', 'S', 'R', 'x', 'H', 'r', 'Z', 'H', 'B', 'k', 'T', 'r'], ['d', 8191, 'L', 3665, 5747, 2333, 'q', 5907, 5839, 'u', '6955', '8769', 'i', 'H', 'U', 'I', 'A', '4871', 'y', '5001', 'J', '755', 'r', '6757', 'c', 9775, 2161, 1735, 'N', 'g', 9755, 4039, 6051, 's', 'p', 'Q', 'o', 6181]