From charlesreid1

Problem Statement

Explanation

Code

Flags