In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['f', 7581, 6097, 'O', 2147, 8485, 'c', '2967', 'Q', '1965', 'Y', '3463', '9147', '4413', 'M', '4143', 'k', 'j', '5193', '3507', '8399', 'i', '4027', 'E', '4087', 'U', 'H', 's', '833', 'b', '5571', '6287', '629', 'y', 'H', '4585', 'W', 'A', 'j', 6891, 'D', 'q', 3511, 'x', 1247, 5629, 6505, 'I', 'Y', 'f', 'Y', 'm', 'N', 4549, 623, 'i'], ['p', 'a', 'M', 't', 5987, 3183, 'b', 'e', 'W', 379, 2581, 1977, 'F', 4843, 'q', 'r', 'd', 6609, 8083, 'B', 's', 'y', 'Z', 7693, 6997, 'O', 6013, 5277, '2967', 'Q', '1965', 'Y', '3463', '9147', '4413', 'M', '4143', 'k', 'j', '5193', '3507', '8399', 'i', '4027', 'E', '4087', 'U', 'H', 's', '833', 'b', '5571', '6287', '629', 'y', 'H', '4585', 'W', 'w', 769, 2757, 5993, 2035]