In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[7943, 3861, 'X', 8305, 6441, 'O', 'd', 'v', 'S', 9903, 8169, 171, 'L', 7875, '921', '9827', 'J', 'c', '3711', 'j', '1891', '1211', 'T', 'm', '8353', '6519', '6075', '1293', '7163', '5835', '3245', '2389', 'F', 'm', 'N', 1277, 'T', 2333, 9779, 'H', 'P', 6097, 'l', 9951, 'f', 'W', 'b', 4955, 'Z', 'A'], ['M', 'k', 8017, 'r', 'l', 1387, 's', 'T', 6995, 'Q', 7891, 6241, 2005, '921', '9827', 'J', 'c', '3711', 'j', '1891', '1211', 'T', 'm', '8353', '6519', '6075', '1293', '7163', '5835', '3245', '2389', 'W', 4339, 2947, 5529, 5475, 8855, 'p', 8943, 1017, 969]