In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[625, 7627, 'B', 'A', '3055', 'K', '8063', '1081', 'v', '4597', 's', 'D', 6655], ['Y', 'a', 4285, 'L', 'O', 'n', 'S', 4583, 'A', '3055', 'K', '8063', '1081', 'v', '4597', 's', 'Y', 'R', 'Y', 'Y', 7249, 6775, 'S']