In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3597, 'Z', 8185, 5613, 2687, '5971', 'G', 'p', 'b', 'p', '5031', '9281', '8995', '3589', 'W', 'v', 'o', 3453, 7479], [5453, 'T', '5971', 'G', 'p', 'b', 'p', '5031', '9281', '8995', '3589', 'W', 'k', 'E', 'r', 4557, 1199, 'X', 6957]