In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['m', 3677, 'O', 'P', 2667, 't', 627, 7895, '9363', '1259', '8735', 'g', '4667', 'N', '611', '1063', 'E', '1575', '6895', '7741', '3371', '421', '3155', 'J', '8329', 'z', 'k', 'r', '899', '3735', '6145', '7389', '5839', 'V', 'w', 'T', 'J', 'D', 'Q', 'o', 8487, 'V', 'Q', 8613, 'u', 2711, 2459, 2385, 'k', 'h', 1121, 'F', 323, 'L', 'g'], ['Y', 'Y', 3171, 'g', 'r', 9125, 4189, 'Z', 4427, 'd', 4929, 'e', 3543, 'e', 265, '9363', '1259', '8735', 'g', '4667', 'N', '611', '1063', 'E', '1575', '6895', '7741', '3371', '421', '3155', 'J', '8329', 'z', 'k', 'r', '899', '3735', '6145', '7389', '5839', 'V', 'w', 3731, 2637, 5821, 'f', 2813, 'o', 'R', 'w', 7953, 'K', 3385, 'm', 'Y', 9669, 6647, 2967, 'B', 4943, 8513]