def calculator(B):
yarnWeight = 200
moherWeight = yarnWeight * 0.4
polyacrylicWeight = yarnWeight - moherWeight
moher = moherWeight * B
polyacrylic = polyacrylicWeight * B
return (moher, polyacrylic)
print(calculator(2))