In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[7999, 'w', 'a', 2011, 'o', 6197, 3361, 'f', 2513, 9869, 'T', 'K', 'e', 'L', '7559', 'h', '8861', 'e', 'f', '8333', 'P', 'J', 'P', 'b', 'U', 'U', '1039', '8949', 'O', 'G', 'n', 1583, 7887, 5201, 7191, 2349, 8543, 'V', 9545, 'v', 4073, 5239, 6671], [5481, 'M', 1103, 5251, 617, 'r', 7689, 2021, 'H', 6183, 'k', 'G', 'i', 'p', 'Z', 'e', 'L', '7559', 'h', '8861', 'e', 'f', '8333', 'P', 'J', 'P', 'b', 'U', 'U', '1039', '8949', 'O', 'G', 'i', 'G', 'h', 'f', 'p', 'i', 1921, 'u', 525, 'F', 'X', 'I', 'a', 'X', 'y']