In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[789, 4719, 's', 4861, 'U', 3243, 'U', 'g', '1245', '6377', 'W', 'v', '9043', 'D', '643', 'V', 'v', '9659', 'V', 'Q', '901', 'G', '7769', '2497', '4807', 'm', 'T', '7909', '8557', '1703', 'E', '2543', 'a', 7355, 6093, 'F', 'V', 9995, 4083, 'k', 'j', 'V', 6423, 2581, 4875, 6553, 'k', 'V', 'K', 'V', 2753, 'Y', 6909, 5789, 's', 2189], [8489, 'A', 7391, 3915, 8891, 'M', 'a', 'f', 'n', 'q', 3177, 'F', 4187, 'b', 835, '1245', '6377', 'W', 'v', '9043', 'D', '643', 'V', 'v', '9659', 'V', 'Q', '901', 'G', '7769', '2497', '4807', 'm', 'T', '7909', '8557', '1703', 'E', '2543', 'h', 'Q', 1467, 'G', 'R', 3159, 'G', 3001, 9587, 7865]