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

[Q]: [9537, 9603, 'U', '4157', 'M', 'k', 'w', 9373], [3355, 4417, 'U', '4157', 'M', 'C', 'k']
[A]: U, 4157, M


[Q]: ['W', 'A', '5747', 'i', 'M', 'N', 8861], [1997, 'D', 5205, '5747', 'i', 'M', 'D', 3319, 1895]
[A]: 5747, i, M


[Q]: [6719, 'G', 559, 't', 'x', 'd', 9819, 's', 9863, 931, 6811, 'f', 'u', 't', 'C', 6281, 2805, 1295, 2163, 'q', 1961, 5119, 6529, '9633', '7357', '6463', '5461', 'r', '9291', 'T', '5543', 'h', 'm', '4665', 'n', 'B', 'T', 'v', 'w', 'K', 's', 'T', 'b', '6001', 'a', 'A', 'o', '5709', '8455', '9713', 'A', 'K', '6861', 'l', 2885, 'Y', 3073, 3609, 5831, 9341, 9025, 1719, 3575, 2867, 'H', 'b', 131, 'h', 'P', 'w', 'l', 4141, 'O', 'q', 3053], [5277, 5187, 'h', 'h', 'c', 4595, 'i', 6249, 'L', 'F', 8899, 6255, 'H', 2691, 6935, 'q', 6285, 'W', 'o', 'q', 7177, 'o', 'Q', 7607, 591, 'D', 3947, 2053, 'i', '9633', '7357', '6463', '5461', 'r', '9291', 'T', '5543', 'h', 'm', '4665', 'n', 'B', 'T', 'v', 'w', 'K', 's', 'T', 'b', '6001', 'a', 'A', 'o', '5709', '8455', '9713', 'A', 'K', '6861', 'Y', 2357, 9767, 7743, 'N', 'm', 3897, 'e', 'H', 'T', 9537, 4473, 9993, 'o', 'p', 4351, 4857, 'C', 'j', 'j', 4437, 'S']
[A]:
9633, 7357, 6463, 5461, r, 9291, T, 5543, h, m, 4665, n, B, T, v, w, K, s, T, b, 6001, a, A, o, 5709, 8455, 9713, A, K, 6861