In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['a', 'q', 'U', '3297', '2459', '7791', 'Y', 'b', '4795', 'k', 'O', '8017', 'B', '4139', 'v', 'J', 'j', 'R', 3915, 4473, 'e', 'B', 8953, 'A', 6785], ['s', 'H', 2259, 1827, 5223, 625, '3297', '2459', '7791', 'Y', 'b', '4795', 'k', 'O', '8017', 'B', '4139', 'v', 'v', 8729]