The US dollar weakened against the yen to its lowest level in six months.