In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5725, 'V', 4195, 2333, 5357, 'Z', 3881, 'R', 9777, 'v', 'T', 'W', 'l', 129, 2257, 'N', 'r', 'm', 'A', 'c', 's', '4975', '6609', 'k', '625', '1021', 'i', 'L', 'I', 'E', '7519', '371', '1999', '6515', 'V', '3595', 'X', '7739', 'U', '6035', 'm', 3487, 'H', 'r', 'Q', 'f', 'Y', 'O', 5995, 3839, 'q', 'a', 'a', 8451, 5845, 8027, 3197, 5199], [9611, 4327, 2491, 7307, 'f', 'm', 3469, 'g', 'h', 5415, 'e', 'r', 'X', 'g', 'c', 4513, 4519, 5333, 821, 2687, 8407, 4299, 3425, 'p', 'r', 'm', 'A', 'c', 's', '4975', '6609', 'k', '625', '1021', 'i', 'L', 'I', 'E', '7519', '371', '1999', '6515', 'V', '3595', 'X', '7739', 'U', '6035', 'S', 8403, 'n', 'l', 'd', 'R', 'y']