Solve ARC027 B