In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1991, 'd', 'V', 'j', 'O', 'T', 4423, 'f', '7547', 'V', 'C', 'L', 'S', '9247', 'j', '4825', 'i', '1431', 'v', 'w', 'I', 'c', 9461, 9315, 'X', 'f', 't', 'v', 'e', 3221, 9275, 6285], [8731, 'a', 2119, 3991, 2071, 'N', 'p', 9507, 3051, 2123, 6597, 'W', 'f', '7547', 'V', 'C', 'L', 'S', '9247', 'j', '4825', 'i', '1431', 'v', 'w', 'C', 'I', 7785, 'A', 7131, 'O', 'S', 4823, 'S']