In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['x', 4287, '4761', 'i', '9739', '8047', 'x', 'u', 'M', 'z', '9349', 'I', '6067', '7933', '6123', 'w', '5443', '4363', '1751', '1407', 'C', 'K', 'U', '583', 'R', '5299', '5891', 'b', 8975, 'a', 8189, 2661, 'p', 1071], ['T', 1761, 453, 5217, 'n', 'E', 'K', 'F', 'i', 9523, 'V', 2083, 3771, '4761', 'i', '9739', '8047', 'x', 'u', 'M', 'z', '9349', 'I', '6067', '7933', '6123', 'w', '5443', '4363', '1751', '1407', 'C', 'K', 'U', '583', 'R', '5299', '5891', 'L', 5305, 8361, 'y', 7975, 'u', 4363, 3171, 'I']