RGIS Interview Question

general counting, simple math problems