In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[473, 'B', 1827, 'u', 'w', 'S', 5137, 't', 6601, 'T', 'W', '785', '3231', 'J', '7489', '583', '8745', 'o', 'T', 'a', 'r', '1479', '5825', 'p', '4425', '7389', '5783', 'u', 'I', 'f', '3579', '4207', '873', 'L', 'K', 'd', 'z', 'j', 'P', 'k', 919, 'Q', 'h', 4253, 9199, 'f', 8333, 'A', 3575, 8103, 2785, 3107, 'w', 'j', 1433, 't', 987, 2743, 'B', 6929, 3259, 1193, 'e', 'U'], ['A', 1395, 7983, 5493, 'o', 'h', 4925, 3575, 'z', 955, 'Y', 'X', 2465, 343, 'f', 2763, 6663, 'T', 'W', '785', '3231', 'J', '7489', '583', '8745', 'o', 'T', 'a', 'r', '1479', '5825', 'p', '4425', '7389', '5783', 'u', 'I', 'f', '3579', '4207', '873', 'L', 'K', 'd', 'z', 'Y', 1207, 'a', 4609, 2161, 'q', 8721, 7889]