In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['V', 'K', 7411, 3215, 5407, 'V', 'm', 3863, 5399, 'w', 'c', 8173, 4349, 6805, 2519, '9283', 'w', 'a', '1791', 'D', 'n', 'O', 'M', 'x', 'Z', 'N', '1355', '4901', 'y', '2309', 'x', 'V', '8737', 'j', 'D', '7595', 'V', 'I', 'w', 'O', 6089, 'o', 'k', 'T', 469, 8387, 'Y', 5751, 5709, 3875, 'B'], ['f', 'X', 'P', 5837, '9283', 'w', 'a', '1791', 'D', 'n', 'O', 'M', 'x', 'Z', 'N', '1355', '4901', 'y', '2309', 'x', 'V', '8737', 'j', 'D', '7595', 'V', 'R', 'Q', 7657, 'K', 'r', 5777, 4089, 'I', 9389, 'q', 's', 'y', 8047, 6901, 'T', 8157, 5, 943, 7767, 'W']