Finding a Solution for Two Problems at Once