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

[Q]: ['c', 'h', 9399, 'U', 'e', '1183', '9537', 'K', 'e', 'p', 'i', 'W', 'T', 9917, 'F', 'g', 8159], [4949, 'I', 'r', 4087, 'U', 'e', '1183', '9537', 'K', 'e', 'p', 'z', 9843]
[A]: U, e, 1183, 9537, K, e, p


[Q]: [443, 'w', 9731, 'M', 'N', 'P', '9231', 'j', 'H', '5851', 'F', 'W', 2301], ['Z', 1747, 6223, 'u', 1065, 'J', 'N', 'P', '9231', 'j', 'H', '5851', 'J', 5037, 9047]
[A]: N, P, 9231, j, H, 5851


[Q]: [7277, 2251, 1645, 'e', '1779', 'u', '2819', 'S', 'c', 'W', 7271, 'd', 4557, 't', 8605], ['z', 'U', 'e', '1779', 'u', '2819', 'S', 'c', 'X', 7763, 2631]
[A]:
e, 1779, u, 2819, S, c