In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['g', 'J', 1159, 2045, 'R', 8009, 7851, 'x', 8515, 2325, 's', 6339, 'y', 5077, 8417, 's', 6989, 'T', 'I', 'l', 8769, 143, 'z', 9565, 't', 'D', 9977, '5765', 'H', '7093', '3539', '5913', '7861', '6545', 'U', 't', 'D', '5839', 'P', 'Y', '8675', 'Z', 'D', 'g', 'v', 'm', 'X', 'A', 'K', 'T', '9473', 'w', '6823', '2553', 'N', 'Q', 'B', 7931, 2835, 'E', 1017, 'H', 'f', 'V', 'c', 'z', 8523, 7871, 'E', 'O', 2147, 'W', 7335, 'f', 'p', 'K', 'd'], ['O', 't', 'r', 9493, 3095, 5031, 'd', 'J', 5313, 'Y', 773, 495, 3691, 9371, 7741, 'O', 'i', 'P', 4235, 'K', '5765', 'H', '7093', '3539', '5913', '7861', '6545', 'U', 't', 'D', '5839', 'P', 'Y', '8675', 'Z', 'D', 'g', 'v', 'm', 'X', 'A', 'K', 'T', '9473', 'w', '6823', '2553', 'N', 'Q', 'c', 3773, 1451, 'O', 'a', 6755, 8629, 'n', 9751, 'M', 'M', 3795, 4549, 'u', 7579, 3969, 3175, 'J']