In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['L', 9825, 'c', 4567, 'r', 1427, 'B', 1253, 'd', 1063, 3715, 'D', 8915, 7439, 'F', 'd', '2357', 'd', 'V', 'r', '4051', '1277', '2871', '5911', '5739', 'r', 'q', 'y', '1715', '9123', 'b', 'r', '2825', 'X', '4629', 'Y', 'y', 'y', 1661, 3223, 'M', 'O'], ['l', 2081, 9707, 'l', 609, 4307, 'U', 'u', 5853, 3227, 'J', 'R', 'T', 9187, 'B', 2889, 5555, 'o', '2357', 'd', 'V', 'r', '4051', '1277', '2871', '5911', '5739', 'r', 'q', 'y', '1715', '9123', 'b', 'r', '2825', 'X', '4629', 'Y', 'y', 'U', 'w']