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.

[3993, 4331, 'l', 5363, 'J', 'N', 4479, 6357, '399', 'S', '9827', '8051', '6247', 'Q', 'n', '971', '183', 'K', '2473', '2279', 'c', 'e', '209', '7603', 'Y', 9593, 7975, 't', 2829, 'f', 'r', 'Z', 7969, 'd', 341], ['k', 8121, 'c', 'V', 'W', 'O', 8103, 'C', 'E', 5721, 1077, 8193, '399', 'S', '9827', '8051', '6247', 'Q', 'n', '971', '183', 'K', '2473', '2279', 'c', 'e', '209', '7603', 's', 2961, 6577, 'r', 815, 651, 'R', 'n', 4857, 1407, 'J', 5669, 'X', 'f', 3111]
399, S, 9827, 8051, 6247, Q, n, 971, 183, K, 2473, 2279, c, e, 209, 7603