the math is
 
Beanies