In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['N', 6511, 'w', 4007, 'e', 'g', 2563, 6477, 'q', 'U', 207, 'R', 7509, 'n', 4907, 'y', 1259, 5881, 3911, 3285, 4597, 'M', 'W', '161', 'i', 'e', 'I', '3023', '5767', '4595', '3135', 'Y', 'T', 'R', '5921', 'u', 'o', '9491', 't', 'M', '8507', 'h', 'Y', 'n', 'v', 9531, 'B'], [7895, 'V', 'M', 'W', '161', 'i', 'e', 'I', '3023', '5767', '4595', '3135', 'Y', 'T', 'R', '5921', 'u', 'o', '9491', 't', 'M', '8507', 'h', 'E', 1819, 'L']