In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

[EX Q]: [1291, 3229, 'C', 'P', 5501, 'M', 7039, '5337', 'L', '5089', 'q', '9619', '2651', '2899', '1103', '7949', 'T', '199', 'N', '4359', 'g', '597', '2195', 'F', '8427', '7741', '3033', '4565', '4957', 'Y', '37', '9017', 'k', '2555', 'z', '4683', 'q', 'p', 2557, 797, 'z', 'p', 'z', 'K'], ['a', 6929, 'h', 'r', 'Q', 'v', 'L', 4801, 'J', 1849, 4197, 5077, '5337', 'L', '5089', 'q', '9619', '2651', '2899', '1103', '7949', 'T', '199', 'N', '4359', 'g', '597', '2195', 'F', '8427', '7741', '3033', '4565', '4957', 'Y', '37', '9017', 'k', '2555', 'z', '4683', 'q', 'N', 773, 'g', 2295, 7477, 'R', 'I', 6823, 9695, 'v', 543, 'R', 7201, 9203, 1731, 'v', 4213, 767, 4273, 6557, 4155, 5339, 9859, 'w', 'D']
[EX A]: 5337, L, 5089, q, 9619, 2651, 2899, 1103, 7949, T, 199, N, 4359, g, 597, 2195, F, 8427, 7741, 3033, 4565, 4957, Y, 37, 9017, k, 2555, z, 4683, q

[EX Q]: ['c', 7387, '4905', '999', '5697', 'G', '9975', 'f', 'I', '2807', '6785', '7473', '9999', '8011', 'W', 'i', 'A', 7573], ['K', 'g', 'b', 'u', 7899, 'k', 's', 223, '4905', '999', '5697', 'G', '9975', 'f', 'I', '2807', '6785', '7473', '9999', '8011', 'h', 7411, 83, 'T', 9199, 't', 9245]
[EX A]: 4905, 999, 5697, G, 9975, f, I, 2807, 6785, 7473, 9999, 8011

[EX Q]: [5587, 5085, 'i', 'H', 9133, 'D', 'y', 'M', 't', 'r', '7787', '1083', 'F', '8153', 'i', '979', 'b', 'z', 'g', '1657', 't', '2281', '8149', '7429', 'o', 'I', 573, 1699, 'M', 'm', 'r', 'o', 2659, 8785], ['T', 'h', 9991, 'c', 'J', 'Z', 'Z', 1541, 7687, 'z', 1961, 'A', 9619, 'b', 'o', 'r', '7787', '1083', 'F', '8153', 'i', '979', 'b', 'z', 'g', '1657', 't', '2281', '8149', '7429', 'o', 'p', 6099, 'W', 'V', 'Z', 4553, 5651]
[EX A]:
r, 7787, 1083, F, 8153, i, 979, b, z, g, 1657, t, 2281, 8149, 7429, o