In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3797, 6721, 7075, 5025, 't', 'z', 'K', 9865, 'v', 6709, 'j', 'b', 5599, '1161', '8349', '2267', '3935', 'c', 'f', '89', '469', 'e', 'q', '6397', 'H', 'j', '1653', 'l', 'D', 'V', 'a', '5997', '7597', 'f', 'F', 3097, 'b', 7855], [8427, 't', 'k', 5177, '1161', '8349', '2267', '3935', 'c', 'f', '89', '469', 'e', 'q', '6397', 'H', 'j', '1653', 'l', 'D', 'V', 'a', '5997', '7597', 'i', 'p', 3961, 'V', 2689, 3427, 5185, 2515, 'q', 'M', 1705, 6407, 3783, 't']