Do multiplication and print the result to the file.