In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['n', 'B', 4165, 'M', 'z', 3925, 665, '3371', '407', '267', 'E', '5601', '8125', '4689', '4821', 'x', '7813', 'u', 'U', '257', '4405', '8931', '9893', 'C', 'K', 'a', 4585, 'f', 4511, 'e', 8455, 'P', 9529, 3573, 2541, 3165], ['x', 'h', 's', 5271, 2701, 'Y', '3371', '407', '267', 'E', '5601', '8125', '4689', '4821', 'x', '7813', 'u', 'U', '257', '4405', '8931', '9893', 'E', 'W', 5121, 8741, 6669, 7517, 'u', 4805, 2659, 8709, 9827, 4025, 'O', 's', 'Q']