Detailed Instructions: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Q: [6273, 'P', 'w', '4125', 'g', 'R', '2959', 'O', 'n', 'J', 'k', '4755', 'Q', 'N', 'T', '2717', '8857', '2909', 'W', 'O', '373', '3535', '6057', '5081', 'l', '229', 'V', 'Z', '6833', 'q', '6291', '5837', 'j', 'n', 'L', 3341, 5445, 6475, 'b', 9595, 'h', 1447, 2015, 6453, 'n', 'r', 'N', 7179, 4847, 3081, 'U', 'b', 'x', 9305, 8709, 'N', 'V', 1907, 7971, 'n', 8363], ['h', 'W', 'C', 3071, 'x', 6785, 9781, 's', 'k', 9131, 6601, 'H', 4359, 961, 7915, 'g', 'u', 'o', 6747, 233, 9887, 633, 'Y', '4125', 'g', 'R', '2959', 'O', 'n', 'J', 'k', '4755', 'Q', 'N', 'T', '2717', '8857', '2909', 'W', 'O', '373', '3535', '6057', '5081', 'l', '229', 'V', 'Z', '6833', 'q', '6291', '5837', 'x', 'E', 1109, 1685, 9485, 5399, 'c', 8389, 3371, 1679, 939, 6211, 'q', 7295]
A:
4125, g, R, 2959, O, n, J, k, 4755, Q, N, T, 2717, 8857, 2909, W, O, 373, 3535, 6057, 5081, l, 229, V, Z, 6833, q, 6291, 5837