Fortude Interview Question

a a a a a