BairesDev Interview Question

Basic logic and math exercises