Count dots on 5 black and white cards as one input (without a loop)