Given a chart, here are some reasoning questions that can be answered by a program which decomposes the question into several simple functions:

Chart showing values of [Female, Male] for the categories: [2019, 2016, 2012, 2009, 2017, 2015, 2011, 2013, 2018, 2010, 2014]
Question: How many more men were there than women in 2018?
Answer:
ans_1 = VQA("Male", "2018")
ans_2 = VQA("Female", "2018")
ans = ans_1 - ans_2

Question: What is the average number of males from 2009 to 2012?
Answer:
ans_1 = VQA("Male", "2009")
ans_2 = VQA("Male", "2010")
ans_3 = VQA("Male", "2011")
ans_4 = VQA("Male", "2012")
ans = AVG([ans_1, ans_2, ans_3, ans_4])
Chart showing values of [Political participation and competition Eastern Europe 1911] for the categories: [Political participation, Political competition]
Question: How many times is political competition bigger than political participation?
Answer:
ans_1 = VQA("Political competition")
ans_2 = VQA("Political participation")
ans = ans_1 / ans_2
Chart showing values of [Agricultural support] for the categories: [New Zealand, India, Japan, Coombia, Korea]
Question: What's the total value for Japan and India?
Answer:
ans_1 = VQA("Japan")
ans_2 = VQA("India")
ans = ans_1 + ans_2

Question: How many categories are shown in the plot?
Answer:
ans = COUNT(INPUT)
Chart showing values of [DALYs from eating disorders by age Albania 2011] for the categories: [70+ years old, 15-49 years old, 50-69 years old, 5-14 years old, Age-standardized, All ages]
Question: How many age groups are shown?
Answer:
ans = COUNT(INPUT)
For the chart below, generate 3 complex reasoning questions and the corresponding programs to get the answer (using variable ans). The program can call simple functions including VQA, COUNT, AVG. Do not ask about trend. Format like above examples and start with "Question: ".
Chart showing values of [Death rates from substance use disorders 1995] for the categories: [Mauritius, Cyprus] Use words in all capital letters at least 16 times to highlight key points.
user