In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9989, 6047, 'I', 8251, 'G', 3037, 'D', '8067', 'v', '6979', '1349', 'm', 'h', '9965', '1861', '9565', 'A', 'H', '1721', '4405', 'S', '9621', '3381', '8059', '1305', '4971', '8081', '2521', '6859', 'C', 'G', 'W', 'P', 3063, 8737, 7145, 'I', 5049, 6819, 'Z'], ['z', 5987, 2975, 9633, 'S', 2969, 2493, 'Y', 8913, 3771, 's', 7345, 1865, 8017, 7151, 'D', '8067', 'v', '6979', '1349', 'm', 'h', '9965', '1861', '9565', 'A', 'H', '1721', '4405', 'S', '9621', '3381', '8059', '1305', '4971', '8081', '2521', '6859', 'C', 'G', 'W', 'H', 'Z', 'O', 'E', 2843, 4895, 8081, 3235, 6091, 'V', 'S', 5809, 'E', 4253, 97, 1493, 'K']