B: draft solution (overcomplicated & inefficient)
B: pretests passed (still inefficient)