In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['B', 9853, 'w', 'j', '5057', 't', '525', '9735', 'F', '4399', 'I', 's', '515', 'F', 'e', '3029', 'C', 'n', 'O', '9043', '2965', '2151', 'h', 'N', 8257], ['A', 8771, 8301, 'v', 'b', 3541, 8693, 'k', 2865, 2997, 'B', 'A', 'h', 'j', '5057', 't', '525', '9735', 'F', '4399', 'I', 's', '515', 'F', 'e', '3029', 'C', 'n', 'O', '9043', '2965', '2151', 'H', 'K', 5233, 1671, 'B', 3143, 6307, 4843, 7757, 1833, 'f', 5199, 'x']