Implement the calculate_total_deliciousness function that computes the total deliciousness of cakes made by combining various types of cream and sponge. The total deliciousness is calculated by multiplying the sum of the taste values of all cream types with the sum of the taste values of all sponge types.
Functionality Requirements:
The function should take in the following parameters:
An integer N representing the number of cream types.
An integer M representing the number of sponge types.
A list of integers A, where each integer indicates the taste value of a cream type (length of list A is N).
A list of integers B, where each integer indicates the taste value of a sponge type (length of list B is M).
The function should return a single integer that represents the total deliciousness of the cakes.
Input/Output Requirements:
Input:
N (1 <= N <= 100)
M (1 <= M <= 100)
A (a list of N integers, where each integer is between 1 and 100)
B (a list of M integers, where each integer is between 1 and 100)
Output:
An integer representing the total deliciousness calculated by the formula: total_deliciousness = (sum of A) * (sum of B).
Implementation Notes:
Ensure that the implementation correctly calculates the sums of lists A and B and then multiplies these sums to find the total deliciousness. The implementation should be written and saved in the file /app/solution.py.