In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3497, 'u', 5123, 'v', 4225, 5005, 365, 'r', 3845, 'K', 'q', 2145, 5395, 9033, 'Y', 791, 'T', 'u', '8775', '4547', '4735', 'O', 'S', 'm', '1155', 'A', '9399', 'R', 'g', '1469', '2139', '9407', 'O', 'v', 'V', 'M', '4185', '7993', '3461', 'e', '9707', 'L', 8505, 1703, 233, 'a', 'u', 8973, 7695, 'w', 'M', 9945, 'z', 5399, 'N', 'n', 'T', 881, 'c', 'i', 3801, 9963, 1323, 'c'], ['O', 'Y', 'W', 2289, 3413, 6433, 2015, 1287, 7757, 807, 'u', 8357, 'r', 'b', 9745, 'T', 'u', '8775', '4547', '4735', 'O', 'S', 'm', '1155', 'A', '9399', 'R', 'g', '1469', '2139', '9407', 'O', 'v', 'V', 'M', '4185', '7993', '3461', 'e', '9707', 'W', 4323, 7889, 'K', 'D', 5575, 'X', 'T', 6265, 'z', 'J', 'I', 13, 6177, 't', 'T', 8597, 9763]