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

Example input: [5797, 8817, '8297', 'b', 'U', 'b'], [5843, 8809, '8297', 'b', 'W', 'C']
Example output: 8297, b
Example explanation: Here, '8297, b' is the longest common subsequence in both the input lists [5797, 8817, '8297', 'b', 'U', 'b'] and [5843, 8809, '8297', 'b', 'W', 'C'].
Q: [4115, 'w', 'K', 4901, 6799, 'H', 9183, 'O', 5177, 'r', 3699, 'p', 9799, 'R', 5945, 7431, 'd', 681, 'M', 'V', 5093, 8035, 7413, 4189, 7431, 'w', 'W', '7375', '2725', 'V', 'J', '9897', '8931', 'm', '9913', 'C', '9879', '97', '2699', 'M', '4867', '911', 'K', '3869', 'l', 'l', '6251', 'P', 'U', 'Y', 'K', '9555', '2823', '6887', 'C', 'g', 4311, 'v', 7535, 3069, 6279, 9635, 357, 7009, 'K', 9877, 'N', 6743, 1063, 'G', 1265, 1523, 'G'], ['s', 351, 8417, 'Z', 3489, 6297, 5073, 8383, 3055, 'w', 8967, 'O', 'W', '7375', '2725', 'V', 'J', '9897', '8931', 'm', '9913', 'C', '9879', '97', '2699', 'M', '4867', '911', 'K', '3869', 'l', 'l', '6251', 'P', 'U', 'Y', 'K', '9555', '2823', '6887', 'e', 'e', 'g', 'n', 9283, 3927, 9503, 3553, 301, 'B', 'M', 'm', 4103, 'U', 8371, 'N', 'W', 5535, 7533, 'l', 5749, 5061, 'w', 'Q', 2787]
A:
W, 7375, 2725, V, J, 9897, 8931, m, 9913, C, 9879, 97, 2699, M, 4867, 911, K, 3869, l, l, 6251, P, U, Y, K, 9555, 2823, 6887