Free note books were distributed equally among children of a class. The number of notebooks each child got was rth of the number of children. Had the number of children been half, each child would have got 16 notebooks. In total how many notebooks were distributed ?
A256
B432
C512
D640