In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5003, 9689, 1791, 1861, 'A', 'q', 'v', 8595, 3491, 'h', 5701, 1017, 'g', 'X', 'V', '3713', '2677', '6629', '6327', '7665', '845', '8439', '3815', '6773', 'L', 'F', 'F', '3185', 'm', 'n', '3925', '3453', '7271', 'E', '2603', '3743', '4765', 'y', '5811', 'v', 't', 1671, 'i', 'K', 1553], [7599, 'i', 7841, 8523, 'R', 697, 'V', '3713', '2677', '6629', '6327', '7665', '845', '8439', '3815', '6773', 'L', 'F', 'F', '3185', 'm', 'n', '3925', '3453', '7271', 'E', '2603', '3743', '4765', 'y', '5811', 'v', 'P', 'U', 'E', 6735, 'v', 2929, 'm', 'e', 'T', 3793, 'm', 9511, 3889, 'i', 'k', 111, 7085, 1443, 'M', 1313, 8303]