Complete some medium problems