In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8711, 8283, 5083, 'q', '2149', '8157', '4395', '9981', 'v', 'S', '6273', 'R', 'E', 'P', 'D', 'O', 'j', 1385], ['k', 8167, 'Z', 4879, 'x', '2149', '8157', '4395', '9981', 'v', 'S', '6273', 'R', 'u', 'q', 5307, 2381]