In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8365, 'R', 2451, 9617, 's', 285, 7493, 'o', 'v', 'B', 'c', '9003', '6253', '3609', 'Y', '9709', 'R', '9639', '6177', '3007', '3791', '325', 'W', 'v', '4981', '2783', 'g', 6875, 'Y', 's', 9295, 'D'], [9193, 1105, 'q', 9587, 4249, 'w', 3237, 5179, 'L', 8685, 8123, 'v', 'B', 'c', '9003', '6253', '3609', 'Y', '9709', 'R', '9639', '6177', '3007', '3791', '325', 'W', 'v', '4981', '2783', 's', 'N', 7869, 3179, 4509, 2015, 'y', 'i', 2615, 'H', 5785, 2653, 'n', 'z', 'a', 'm']