Updated problem statement.