In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3687, 'P', 'a', 3745, 'd', '5815', 'j', 'W', '7271', 'P', '1755', 'L', 'C', 'p', 'E', 'J', '869', 'F', '1777', '3373', 'V', 'q', '7825', 'r', 'u', 'G', '471', 'o', 'v', '9333', 'Y', 's', 'X', '8317', 't', 7905, 'g', 'c', 5093, 'r', 'R', 6179, 'J', 'g', 'Z', 9991, 8793, 8613, 535, 'D', 8391, 'v', 355, 'y'], ['I', 'e', 3473, 21, 8843, 'e', 'y', 'H', 'A', 'X', 245, 1077, '5815', 'j', 'W', '7271', 'P', '1755', 'L', 'C', 'p', 'E', 'J', '869', 'F', '1777', '3373', 'V', 'q', '7825', 'r', 'u', 'G', '471', 'o', 'v', '9333', 'Y', 's', 'X', '8317', 'i', 'k', 4043, 'G', 8773, 'S', 5429, 3563, 7435, 7011, 9833]