#class Solution:
#    """
#    @param A: An integer array.
#    @param B: An integer array.
#    @return: Cosine similarity.
#    """
#    def cosineSimilarity(self, A, B):
#        # write your code here
#        #略烦...略之
