solved 047 by higo