In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[599, 'N', 1511, 'c', 5699, 453, 'A', 9285, 'b', 'W', '9805', '2211', 'K', '3989', 'C', 'A', '853', '9143', 'Z', 'G', '6135', '3071', '2659', '7111', 'g', '9067', '5597', 'o', '4751', '1481', 'M', 'd', '9589', '4291', 'Z', '527', '7055', '3141', 'c', 'f', 'p', 's', 'S', 359, 5587, 3071, 'O', 2355, 'o', 4473, 5067, 'r', 5451, 6129, 'L', 713, 8073, 'W', 3321, 'o', 117, 469, 'E', 5499], ['h', 7363, 'H', 3453, 'Q', 4375, 5683, 'E', 'E', 'd', 'x', 'D', 5589, 'P', 6033, 8177, 2863, 'G', 4579, 4543, 'U', 'N', 'f', 9953, 3793, 'W', '9805', '2211', 'K', '3989', 'C', 'A', '853', '9143', 'Z', 'G', '6135', '3071', '2659', '7111', 'g', '9067', '5597', 'o', '4751', '1481', 'M', 'd', '9589', '4291', 'Z', '527', '7055', '3141', 'H', 'p', 'C']