In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1039, 'g', 3471, 'q', 'B', 'K', 4633, 'L', 9913, 'w', 8011, 5801, 'X', 401, 5973, '3577', '6421', '6717', 't', 'O', 'k', 'l', 'L', '7421', '1989', 'i', '6649', 'l', '1261', '5331', '2177', 'c', 5261, 3193, 'W', 8337, 1107, 5865, 8007, 'O', 2961, 'E'], [7351, 'o', 'F', 809, 6981, 't', 1711, 'P', 4283, '3577', '6421', '6717', 't', 'O', 'k', 'l', 'L', '7421', '1989', 'i', '6649', 'l', '1261', '5331', '2177', 'd', 879, 9791, 1997, 9931, 'O', 8943, 1731, 5587, 1683, 'N', 'L']