Bending Spoons Interview Question

signed nda so cannot provide, basic statistics and logic