In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5399, 9339, 'Y', 3797, 'Z', 'f', 7967, 2791, 'T', 'Q', 8513, 'Y', '7893', 'b', 'Q', '4531', '2479', '2299', '4665', 'r', 'R', '6371', '2561', 'L', '4289', 'g', 'Y', 'x', 'D', 'L', '9233', 'N', 'F', 'e', '3231', 'z', '9165', 'D', '1707', 'h', 'Y', 'q', 'e', 3871, 'D', 2831, 't', 621, 2615, 5985, 'i', 'X', 8659, 9807, 'J', 3989, 'd', 'y', 3343, 2539, 'c', 'v', 'h'], ['Z', 'M', 'b', 'Z', 's', 'N', 3185, 'm', 3539, 4291, 3593, 1, 813, 'K', 'i', 6833, 9509, 'k', '7893', 'b', 'Q', '4531', '2479', '2299', '4665', 'r', 'R', '6371', '2561', 'L', '4289', 'g', 'Y', 'x', 'D', 'L', '9233', 'N', 'F', 'e', '3231', 'z', '9165', 'D', '1707', 'p', 2617, 6451, 5945, 'a', 'N', 'q', 4443, 3097, 8889, 621, 1513, 8683, 'M', 'B', 5129, 103, 'f', 2331, 3133, 2725, 'R', 'y', 'v', 'k']