In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['d', 'N', 'B', 'C', 8237, 'g', 'O', 'l', 'E', 'A', 'B', '5751', '3877', 'J', '1867', '2315', 'q', 'w', '8277', '293', 'G', '3073', 'R', 'X', 't', '8043', '4193', '2573', '5223', '6829', '3969', '6953', '8557', '5699', 'N', '2047', '5811', '6727', 'A', 'I', 'Y', 'A', 'R', 9807], ['g', 'u', 585, 'A', 'B', '5751', '3877', 'J', '1867', '2315', 'q', 'w', '8277', '293', 'G', '3073', 'R', 'X', 't', '8043', '4193', '2573', '5223', '6829', '3969', '6953', '8557', '5699', 'N', '2047', '5811', '6727', 'D', 7133, 'M', 'B', 7265, 'u', 'p', 'Q', 8505, 5535, 'Q', 3671, 'Y', 6907, 'X', 2231, 'R', 'B', 2103, 'o', 'i']