In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[4987, 'I', 4953, 'p', 'R', 'Y', 'O', 1265, 'P', 'S', 'p', 'Y', 'I', 'T', 'U', '4103', 'x', 'h', 'm', 'D', '1381', '7053', '7167', '3975', '677', 'U', '6927', '9669', 'k', 9557, 1875, 5723, 8621, 6799, 'D', 3117, 9693, 'Q', 9319, 'o'], ['G', 'H', 'q', 'b', 3359, 7061, 9285, 8953, 3099, 5471, 1335, 'd', 'M', 5931, 245, 'j', 3201, 'z', 'K', 'S', 'p', 'Y', 'I', 'T', 'U', '4103', 'x', 'h', 'm', 'D', '1381', '7053', '7167', '3975', '677', 'U', '6927', '9669', 'G', 5787, 'L', 'M', 'j', 'q', 'r', 5877, 8583, 9611, 'e', 'j', 'Z', 7429]