Fixed a bug in Day 6.