Viridien Interview Question

Simple math questions.