Given the task definition and input, reply with output. In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

[9725, 7303, 'i', '7907', 'G', 't', '5065', '7663', '7043', '5183', '4969', 'i', 'B', '7021', '8391', 'B', 'D', '1563', 'w', 'i', 'q', 'Y', 711, 545, 'M', 'P', 8009, 'v', 2203, 387, 8769, 789], [349, 'x', 1437, 7579, 'q', 'F', 5327, 957, '7907', 'G', 't', '5065', '7663', '7043', '5183', '4969', 'i', 'B', '7021', '8391', 'B', 'D', '1563', 'w', 'i', 'q', 'w', 'x', 'a', 'E', 'm', 'D', 5985, 'a', 6159]

7907, G, t, 5065, 7663, 7043, 5183, 4969, i, B, 7021, 8391, B, D, 1563, w, i, q