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.

['x', 5243, 8099, 'F', 'b', '5271', '3137', 'D', 't', 'B', 'B', 'c', '6701', 'L', '7911', 'r', '535', '1463', '9659', 'G', '517', 'M', '173', 'h', 'S', '5355', 'R', '5891', '8433', 'W', '6737', 'Z', '509', 'v', 'E', 'I', 3805, 'Z', 5685, 9667, 'H', 5349, 'S', 8935, 4949, 'i', 8231, 9849, 3629, 't', 7481, 4863], [9185, 'A', 'R', 3857, 483, 'm', 7859, 'Q', 'K', 5169, 'h', 'k', 'O', 'F', 'b', '5271', '3137', 'D', 't', 'B', 'B', 'c', '6701', 'L', '7911', 'r', '535', '1463', '9659', 'G', '517', 'M', '173', 'h', 'S', '5355', 'R', '5891', '8433', 'W', '6737', 'Z', '509', 'S', 9307, 7229, 9507, 'w', 3025, 2499, 6993, 1307, 'O', 'I', 9763, 3237, 1873, 9499, 4983, 'W', 'y', 'U', 'E', 'R', 3345, 3657, 'Y', 'd', 3131, 9403, 4323, 'Z']
F, b, 5271, 3137, D, t, B, B, c, 6701, L, 7911, r, 535, 1463, 9659, G, 517, M, 173, h, S, 5355, R, 5891, 8433, W, 6737, Z, 509