Q: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['N', 'V', 'O', 'x', 1311, 'v', 'd', 8727, 6043, '5765', '7781', '5561', 'S', 'b', 'F', '7789', '6181', 'N', '6861', '9347', '6701', '3981', '4855', 'B', '7527', 'X', 'v', 'D', '9489', 'a', 'T', 3027, 'l', 5595], ['r', 'K', 'R', 6379, 'o', 'w', '5765', '7781', '5561', 'S', 'b', 'F', '7789', '6181', 'N', '6861', '9347', '6701', '3981', '4855', 'B', '7527', 'X', 'v', 'D', '9489', 'x', 'q', 'p', 'Q', 'D', 'B', 9451, 'w', 2131]
A:
5765, 7781, 5561, S, b, F, 7789, 6181, N, 6861, 9347, 6701, 3981, 4855, B, 7527, X, v, D, 9489