SEX_LIST = {
    "M": 0,
    "F": 1
}
REFERENCE_NUTRITION_LIST = {
    "M": {
        "calories": 883.3, #kcal
        "carbohydrate": 127.0, #g57.5%
        "proteins": 20.0, #g
        "fat": 24.5, #g25%
        "dietary_fiber": 6.7, #g
        "sodium": 1050, #mg
        "sodium_chloride_equivalent": 2.67, #g
        "potassium": 833.3, #mg
        "calcium": 241.67, #mg
        "iron": 2.33, #mg
        "magnesium": 118.3, #mg
        "phosphorus": 333.3, #mg
        "vitamin_A": 291.67, #μg
        "vitamin_B1": 0.47, #mg
        "vitamin_B2": 0.53, #mg
        "vitamin_B6": 0.47, #mg
        "vitamin_B12": 0.80, #μg
        "niacin": 5.0, #mg
        "vitamin_C": 33.33, #mg
        "vitamin_D": 1.833, #μg
        "vitamin_E": 2.17, #mg
    },
    "F": {
        "calories": 666.67, #kcal
        "carbohydrate": 95.83, #g57.5%
        "proteins": 16.67, #g
        "fat": 9.33, #g25%
        "dietary_fiber": 6.0, #g
        "sodium": 918.67, #mg
        "sodium_chloride_equivalent": 2.33, #g
        "potassium": 666.67, #mg
        "calcium": 216.67, #mg
        "iron": 3.50, #mg
        "magnesium": 93.33, #mg
        "phosphorus": 266.67, #mg
        "vitamin_A": 225.0, #μg
        "vitamin_B1": 0.37, #mg
        "vitamin_B2": 0.40, #mg
        "vitamin_B6": 0.40, #mg
        "vitamin_B12": 0.80, #μg
        "niacin": 3.83, #mg
        "vitamin_C": 33.3, #mg
        "vitamin_D": 1.83, #μg
        "vitamin_E": 2.0, #mg
    }
}
FOOD_LIST = {
    "chahan": 0,
    "cornsoup": 1,
    "curry": 2,
    "goyachanpuru": 3,
    "hamburg": 4,
    "hotdog": 5,
    "hourensouitame": 6,
    "katsudon": 7,
    "misoshiru": 8,
    "omurice": 9,
    "oyakodon": 10,
    "potatosalad": 11,
    "ramen": 12,
    "sakeshioyaki": 13,
    "yakisoba": 14
}
NUTRITION_LIST = {
    'chahan': {
        "calories": 673, #kcal
        "carbohydrate": 100.05, #g
        "proteins": 15.43, #g
        "fat": 20.97, #g
        "dietary_fiber": 1.49, #g
        "sodium": 1445.6, #mg
        "sodium_chloride_equivalent": 3.68, #g
        "potassium": 267.62, #mg
        "calcium": 43.76, #mg
        "iron": 1.19, #mg
        "magnesium": 35.43, #mg
        "phosphorus": 228.58, #mg
        "vitamin_A": 114.11, #μg
        "vitamin_B1": 0.11, #mg
        "vitamin_B2": 0.19, #mg
        "vitamin_B6": 0.15, #mg
        "vitamin_B12": 0.56, #μg
        "niacin": 1.45, #mg
        "vitamin_C": 4.54, #mg
        "vitamin_D": 0.63, #μg
        "vitamin_E": 2.68, #mg
    },
    'cornsoup': {
        "calories": 155, #kcal
        "carbohydrate": 15.48, #g
        "proteins": 3.6, #g
        "fat": 8.64, #g
        "dietary_fiber": 0.0, #g
        "sodium": 504.0, #mg
        "sodium_chloride_equivalent": 1.26, #g
        "potassium": 216.0, #mg
        "calcium": 54.0, #mg
        "iron": 0.36, #mg
        "magnesium": 0.0, #mg
        "phosphorus": 77.4, #mg
        "vitamin_A": 3.6, #μg
        "vitamin_B1": 0.05, #mg
        "vitamin_B2": 0.13, #mg
        "vitamin_B6": 0.0, #mg
        "vitamin_B12": 0.0, #μg
        "niacin": 0.90, #mg
        "vitamin_C": 3.6, #mg
        "vitamin_D": 0.0, #μg
        "vitamin_E": 0.0, #mg
    },
    'curry': {
        "calories": 857,  # kcal
        "carbohydrate": 97.4,  # g
        "proteins": 29.95,  # g
        "fat": 35.27,  # g
        "dietary_fiber": 3.47,  # g
        "sodium": 1756.61,  # mg
        "sodium_chloride_equivalent": 4.4,  # g
        "potassium": 808.42,  # mg
        "calcium": 118.23,  # mg
        "iron": 4.4,  # mg
        "magnesium": 84.21,  # mg
        "phosphorus": 381.88,  # mg
        "vitamin_A": 151.28,  # μg
        "vitamin_B1": 0.27,  # mg
        "vitamin_B2": 0.33,  # mg
        "vitamin_B6": 0.54,  # mg
        "vitamin_B12": 0.54,  # μg
        "niacin": 8.46,  # mg
        "vitamin_C": 14.38,  # mg
        "vitamin_D": 0.22,  # μg
        "vitamin_E": 2.01,  # mg
    },
    'goyachanpuru': {
        "calories": 363, #kcal
        "carbohydrate": 6.3, #g
        "proteins": 18.35, #g
        "fat": 28.25, #g
        "dietary_fiber": 0.61, #g
        "sodium": 1543.68, #mg
        "sodium_chloride_equivalent": 3.9, #g
        "potassium": 533.95, #mg
        "calcium": 118.73, #mg
        "iron": 2.23, #mg
        "magnesium": 52.15, #mg
        "phosphorus": 252.43, #mg
        "vitamin_A": 59.53, #μg
        "vitamin_B1": 0.38, #mg
        "vitamin_B2": 0.30, #mg
        "vitamin_B6": 0.23, #mg
        "vitamin_B12": 0.90, #μg
        "niacin": 4.03, #mg
        "vitamin_C": 59.75, #mg
        "vitamin_D": 0.88, #μg
        "vitamin_E": 1.78, #mg
    },
    'hamburg': {
        "calories": 446, #kcal
        "carbohydrate": 24.6, #g
        "proteins": 26.6, #g
        "fat": 26.8, #g
        "dietary_fiber": 0.0, #g
        "sodium": 980, #mg
        "sodium_chloride_equivalent": 2.40, #g
        "potassium": 480, #mg
        "calcium": 76, #mg
        "iron": 3.6, #mg
        "magnesium": 0.0, #mg
        "phosphorus": 240, #mg
        "vitamin_A": 28.0, #μg
        "vitamin_B1": 0.32, #mg
        "vitamin_B2": 0.46, #mg
        "vitamin_B6": 0.0, #mg
        "vitamin_B12": 0.0, #μg
        "niacin": 3.8, #mg
        "vitamin_C": 2.0, #mg
        "vitamin_D": 0.0, #μg
        "vitamin_E": 0.0, #mg
    },
    "hotdog": {
        "calories": 414,  # kcal
        "carbohydrate": 39.58,  # g
        "proteins": 14.07,  # g
        "fat": 22.0,  # g
        "dietary_fiber": 1.57,  # g
        "sodium": 1062.8,  # mg
        "sodium_chloride_equivalent": 2.72,  # g
        "potassium": 262.24,  # mg
        "calcium": 46.94,  # mg
        "iron": 1.51,  # mg
        "magnesium": 35.98,  # mg
        "phosphorus": 180.27,  # mg
        "vitamin_A": 11.27,  # μg
        "vitamin_B1": 0.24,  # mg
        "vitamin_B2": 0.13,  # mg
        "vitamin_B6": 0.16,  # mg
        "vitamin_B12": 0.25,  # μg
        "niacin": 2.03,  # mg
        "vitamin_C": 7.32,  # mg
        "vitamin_D": 0.24,  # μg
        "vitamin_E": 1.41,  # mg
    },
    'hourensouitame': {
        "calories": 143, #kcal
        "carbohydrate": 3.95, #g
        "proteins": 4.97, #g
        "fat": 12.32, #g
        "dietary_fiber": 2.80, #g
        "sodium": 851.68, #mg
        "sodium_chloride_equivalent": 2.11, #g
        "potassium": 751.43, #mg
        "calcium": 54.16, #mg
        "iron": 2.28, #mg
        "magnesium": 76.08, #mg
        "phosphorus": 97.25, #mg
        "vitamin_A": 381.72, #μg
        "vitamin_B1": 0.20, #mg
        "vitamin_B2": 0.23, #mg
        "vitamin_B6": 0.18, #mg
        "vitamin_B12": 0.14, #μg
        "niacin": 1.20, #mg
        "vitamin_C": 41.31, #mg
        "vitamin_D": 0.13, #μg
        "vitamin_E": 2.30, #mg
    },
    "katsudon": {
        "calories": 795,  # kcal
        "carbohydrate": 107.15,  # g
        "proteins": 24.33,  # g
        "fat": 26.12,  # g
        "dietary_fiber": 1.35,  # g
        "sodium": 1176.82,  # mg
        "sodium_chloride_equivalent": 2.989,  # g
        "potassium": 410.16,  # mg
        "calcium": 22.78,  # mg
        "iron": 0.87,  # mg
        "magnesium": 46.92,  # mg
        "phosphorus": 270.57,  # mg
        "vitamin_A": 10.81,  # μg
        "vitamin_B1": 0.64,  # mg
        "vitamin_B2": 0.20,  # mg
        "vitamin_B6": 0.36,  # mg
        "vitamin_B12": 0.28,  # μg
        "niacin": 6.60,  # mg
        "vitamin_C": 2.39,  # mg
        "vitamin_D": 0.16,  # μg
        "vitamin_E": 1.51,  # mg
    },
    'misoshiru': {
        "calories": 43,  # kcal
        "carbohydrate": 3.44,  # g
        "proteins": 3.61,  # g
        "fat": 1.73,  # g
        "dietary_fiber": 1.14,  # g
        "sodium": 577.9,  # mg
        "sodium_chloride_equivalent": 1.48,  # g
        "potassium": 247.8,  # mg
        "calcium": 65.62,  # mg
        "iron": 0.65,  # mg
        "magnesium": 41.92,  # mg
        "phosphorus": 69.52,  # mg
        "vitamin_A": 13.02,  # μg
        "vitamin_B1": 0.04,  # mg
        "vitamin_B2": 0.06,  # mg
        "vitamin_B6": 0.04,  # mg
        "vitamin_B12": 0.3,  # μg
        "niacin": 1.26,  # mg
        "vitamin_C": 0.77,  # mg
        "vitamin_D": 0.0,  # μg
        "vitamin_E": 0.11,  # mg
    },
    'omurice': {
        "calories": 587, #kcal
        "carbohydrate": 85.3, #g
        "proteins": 19.94, #g
        "fat": 16.31, #g
        "dietary_fiber": 1.67, #g
        "sodium": 1036.74, #mg
        "sodium_chloride_equivalent": 3.34, #g
        "potassium": 435.4, #mg
        "calcium": 51.84, #mg
        "iron": 1.67, #mg
        "magnesium": 38.06, #mg
        "phosphorus": 257.77, #mg
        "vitamin_A": 137.79, #μg
        "vitamin_B1": 0.15, #mg
        "vitamin_B2": 0.33, #mg
        "vitamin_B6": 0.33, #mg
        "vitamin_B12": 0.62, #μg
        "niacin": 4.39, #mg
        "vitamin_C": 6.60, #mg
        "vitamin_D": 1.12, #μg
        "vitamin_E": 2.10, #mg
    },
    'oyakodon': {
        "calories": 684, #kcal
        "carbohydrate": 113.75, #g
        "proteins": 31.95, #g
        "fat": 8.11, #g
        "dietary_fiber": 1.97, #g
        "sodium": 1467.25, #mg
        "sodium_chloride_equivalent": 3.75, #g
        "potassium": 562.57, #mg
        "calcium": 59.50, #mg
        "iron": 2.06, #mg
        "magnesium": 64.04, #mg
        "phosphorus": 391.48, #mg
        "vitamin_A": 119.09, #μg
        "vitamin_B1": 0.19, #mg
        "vitamin_B2": 0.42, #mg
        "vitamin_B6": 0.56, #mg
        "vitamin_B12": 1.26, #μg
        "niacin": 9.18, #mg
        "vitamin_C": 7.40, #mg
        "vitamin_D": 1.08, #μg
        "vitamin_E": 0.84, #mg
    },
    'potatosalad': {
        "calories": 113, #kcal
        "carbohydrate": 10.21, #g
        "proteins": 2.90, #g
        "fat": 6.74, #g
        "dietary_fiber": 0.98, #g
        "sodium": 302.89, #mg
        "sodium_chloride_equivalent": 0.77, #g
        "potassium": 271.96, #mg
        "calcium": 14.93, #mg
        "iron": 0.52, #mg
        "magnesium": 14.52, #mg
        "phosphorus": 54.23, #mg
        "vitamin_A": 72.31, #μg
        "vitamin_B1": 0.06, #mg
        "vitamin_B2": 0.08, #mg
        "vitamin_B6": 0.12, #mg
        "vitamin_B12": 0.14, #μg
        "niacin": 0.73, #mg
        "vitamin_C": 19.74, #mg
        "vitamin_D": 0.27, #μg
        "vitamin_E": 1.25, #mg
    },
    'ramen': {
        "calories": 416, #kcal
        "carbohydrate": 72.55, #g
        "proteins": 20.55, #g
        "fat": 3.13, #g
        "dietary_fiber": 3.8, #g
        "sodium": 4594.28, #mg
        "sodium_chloride_equivalent": 11.87, #g
        "potassium": 623.69, #mg
        "calcium": 73.22, #mg
        "iron": 1.51, #mg
        "magnesium": 59.66, #mg
        "phosphorus": 302.26, #mg
        "vitamin_A": 23.08, #μg
        "vitamin_B1": 0.66, #mg
        "vitamin_B2": 0.24, #mg
        "vitamin_B6": 0.24, #mg
        "vitamin_B12": 0.84, #μg
        "niacin": 7.59, #mg
        "vitamin_C": 6.63, #mg
        "vitamin_D": 0.12, #μg
        "vitamin_E": 0.36, #mg
    },
    'sakeshioyaki': {
        "calories": 110, #kcal
        "carbohydrate": 0.08, #g
        "proteins": 18.0, #g
        "fat": 3.60, #g
        "dietary_fiber": 0.0, #g
        "sodium": 2385.60, #mg
        "sodium_chloride_equivalent": 6.03, #g
        "potassium": 310.0, #mg
        "calcium": 9.32, #mg
        "iron": 0.32, #mg
        "magnesium": 25.88, #mg
        "phosphorus": 208.0, #mg
        "vitamin_A": 21.6, #μg
        "vitamin_B1": 0.21, #mg
        "vitamin_B2": 0.12, #mg
        "vitamin_B6": 0.33, #mg
        "vitamin_B12": 7.52, #μg
        "niacin": 4.80, #mg
        "vitamin_C": 0.0, #mg
        "vitamin_D": 26.4, #μg
        "vitamin_E": 1.04, #mg
    },
    'yakisoba': {
        "calories": 469, #kcal
        "carbohydrate": 67.95, #g
        "proteins": 15.28, #g
        "fat": 13.48, #g
        "dietary_fiber": 4.38, #g
        "sodium": 1383.01, #mg
        "sodium_chloride_equivalent": 3.48, #g
        "potassium": 436.15, #mg
        "calcium": 54.83, #mg
        "iron": 1.32, #mg
        "magnesium": 42.98, #mg
        "phosphorus": 234.66, #mg
        "vitamin_A": 75.39, #μg
        "vitamin_B1": 0.25, #mg
        "vitamin_B2": 0.11, #mg
        "vitamin_B6": 0.22, #mg
        "vitamin_B12": 0.17, #μg
        "niacin": 3.17, #mg
        "vitamin_C": 21.49, #mg
        "vitamin_D": 0.03, #μg
        "vitamin_E": 1.04, #mg
    }
}
