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

Q: [4043, 'H', 'i', 'P', 'l', 4101, 5503, '5275', '3425', 'c', 'u', 'M', 'R', 'A', 'f', '7407', '3805', '1547', '1077', 'P', '7387', 'z', 'g', '9607', '299', '9561', '1203', '3189', 'h', 'N', 5083, 'z', 9883, 7117, 'D', 'B', 'b', 'Z', 483, 1565, 'N', 8227, 8593, 7323, 4913, 'H', 1479], ['B', 'A', 'N', 921, 'D', 'F', 1033, 1657, 'o', 9311, 8003, 'X', 3383, 4519, 'b', '5275', '3425', 'c', 'u', 'M', 'R', 'A', 'f', '7407', '3805', '1547', '1077', 'P', '7387', 'z', 'g', '9607', '299', '9561', '1203', '3189', 'h', 'p', 'C', 'j', 1835, 'b', 'm', 'H', 'n', 'a', 'h', 'Z', 'E', 5271, 467, 5481]

A: 5275, 3425, c, u, M, R, A, f, 7407, 3805, 1547, 1077, P, 7387, z, g, 9607, 299, 9561, 1203, 3189, h
****
Q: [675, 'N', '7605', 'W', 'J', 'E', '2099', 'I', 'i'], ['T', 8995, 'E', 'U', '7605', 'W', 'J', 'E', '2099', 'R', 3629, 977]

A: 7605, W, J, E, 2099
****
Q: ['W', 'A', 'I', 1361, 'r', 4951, 'J', 5267, 4601, 2641, 3925, 43, 8399, 'F', 'F', 'p', '3143', '7567', '2727', '2397', '1079', 'E', 'b', 'o', '6897', 'L', '6953', '6353', '197', '6581', '693', '2619', 'N', '1591', 'H', '9719', 'L', '8651', 'K', '10007', 'z', 't', 4521, 8429, 'z', 'D', 4507, 7103, 5313, 4147, 5297, 'T', 'y', 'N', 'k', 'c', 8775, 5809, 'x', 4729, 'z', 7833, 3535], [5089, 8953, 'r', 'o', 5395, 'd', 'Z', 735, 7889, 'h', '3143', '7567', '2727', '2397', '1079', 'E', 'b', 'o', '6897', 'L', '6953', '6353', '197', '6581', '693', '2619', 'N', '1591', 'H', '9719', 'L', '8651', 'K', '10007', 'z', 'L', 1713, 'y', 'z', 'l', 2905, 4763, 5277, 8733, 'g', 8805, 8081, 1139, 233, 'x', 4221, 'X', 879, 5871, 309, 4365, 6079, 'g', 1367, 'j']

A:
3143, 7567, 2727, 2397, 1079, E, b, o, 6897, L, 6953, 6353, 197, 6581, 693, 2619, N, 1591, H, 9719, L, 8651, K, 10007, z
****