In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['t', 'h', 'g', 'j', 5531, 9069, 6573, 'B', 10009, 'L', 'd', 'H', 'U', '4115', '1289', 'M', '8969', 'k', 'O', 'z', '5693', 'x', '1575', '9027', '5587', 'K', '6089', 'd', '1041', '2321', '387', 'w', 'V', 'X', 9839, 'q', 'p', 'O', 'M', 4779, 2005, 31, 'A', 5455, 'W', 'K', 'B', 'm'], [7243, 6723, 7339, 967, 'v', 3313, 'U', '4115', '1289', 'M', '8969', 'k', 'O', 'z', '5693', 'x', '1575', '9027', '5587', 'K', '6089', 'd', '1041', '2321', '387', 'J', 'M', 'H', 'v', 'X']