In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['w', 9889, 'I', '8971', '7631', '9073', 'Y', 'O', 'R', 'q', '8353', '6125', '8191', 'x', '3121', 'Z', '7817', 'x', 'K', '9307', 'A', '19', '2297', 'C', 'Y', 't', 'D', 'Q', 4079, 8567, 5331, 6035, 't', 6147, 5597, 6117, 'w', 'g', 'R', 'G', 7597, 581, 8473], ['T', 'B', 1003, 'E', 5935, 'a', 7777, 'N', 't', 'w', 9123, 965, 'F', 9067, 'g', 6129, 6545, 977, 'r', 'H', 6793, '8971', '7631', '9073', 'Y', 'O', 'R', 'q', '8353', '6125', '8191', 'x', '3121', 'Z', '7817', 'x', 'K', '9307', 'A', '19', '2297', 'C', 'Y', 't', 'D', 'V', 2257, 323, 'T', 'c', 'w', 3529, 9379, 'J', 779, 'W', 'd']