solving 374