Amazon Interview Question

trains, percentages and ratios