Detailed Instructions: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Q: ['v', 3031, 4597, 9167, 2819, 6579, 9833, 'V', 1075, 'Z', 1165, 'p', 'D', 'd', 2581, 'O', 'N', 'K', 'v', 'n', '7015', '6257', 'g', 'Q', '211', 'y', '1113', 'q', '2123', '6811', '1569', '8429', 'J', '469', 'e', 'p', 7167, 'f', 'Y', 'U', 4345, 'N', 'c', 7487, 'u', 7479, 3725, 'f', 8397, 'h', 'g', 'S', 6485, 6627], ['W', 'M', 6271, 'R', 'D', 1563, 'Q', 9689, 2917, 3505, 'y', 5747, 'N', 'K', 'v', 'n', '7015', '6257', 'g', 'Q', '211', 'y', '1113', 'q', '2123', '6811', '1569', '8429', 'J', '469', 'e', 'm', 'D', 'l', 4741, 1321, 'f', 'M']
A:
N, K, v, n, 7015, 6257, g, Q, 211, y, 1113, q, 2123, 6811, 1569, 8429, J, 469, e