Share number cannot be in decimal point.
Case 1: John, Mike and Ali own same percentage: Assign exact same number to each.
Case 2: John owns 40%, Mike owns 30% and Ali owns 30%: Assign shares 40 to John, 30 to Mike and 30 to Ali.
Case 3: John owns 51%, Mike owns 24.5% and Ali owns 24.5%: Avoid decimal point by doubling the proportion. Assign 102 to John, 49 to Mike and 49 to Ali.