In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3081, 'H', 't', 'K', 3735, 9563, 'M', '5657', 'h', 'i', '4801', '1743', '1801', '4937', 'h', '8581', '7799', '2505', '1371', '2015', 'w', '4403', '739', 'T', 'A', 6175, 'g', 67, 'm', 'w', 2743, 'r', 2647, 8245, 1257, 593], ['d', 4241, 8227, 'A', 'l', 6843, 8105, 1895, 5071, 8613, 'w', 'v', 4207, '5657', 'h', 'i', '4801', '1743', '1801', '4937', 'h', '8581', '7799', '2505', '1371', '2015', 'w', '4403', '739', 'a', 'd', 'v', 2231, 'V', 'q']