In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5249, 'k', 8261, 9663, 'Q', 9729, 'l', 2895, '4007', '7911', 'e', 'S', '45', 'k', 'F', '2377', 'R', 'h', '4779', '3533', '9637', 'D', 'N', '5057', '481', 'N', '3335', '4243', 'x', '9375', 'N', 'e', '6633', '5357', 'b', '5193', '8311', 'h', 2725, 'b', 'E', 333, 'd', 8697, 'v', 't', 'D', 'r', 'S', 'I', 5515, 'h', 4141, 6227, 'P', 'U', 'l', 8325, 'V', 'Y', 4343, 333, 'g', 'L', 9555, 'k'], [4619, 8385, 'L', 'F', 'y', 'Y', 'z', '4007', '7911', 'e', 'S', '45', 'k', 'F', '2377', 'R', 'h', '4779', '3533', '9637', 'D', 'N', '5057', '481', 'N', '3335', '4243', 'x', '9375', 'N', 'e', '6633', '5357', 'b', '5193', '8311', 'J', 1471, 6221]