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.

[1821, 'G', 403, 'l', 'k', 'Q', 'g', 'q', '7655', 'h', 1243, 29], [4243, 6061, 1997, 5875, 4891, 'k', 'Q', 'g', 'q', '7655', 'D', 'm']

k, Q, g, q, 7655