Elemica interview question

Make FastAPI api pass tests