Passage: Coming off their road win over the Browns, the Packers went home for the highly anticipated Week 8 divisional rematch with the  Minnesota Vikings, as former Green Bay Packers quarterback Brett Favre made his return to face his former team. The Packers got the game off to quick start in the first quarter as kicker Mason Crosby made a 37-yard field goal, but the Vikings responded with running back Adrian Peterson's 1-yard touchdown run.  Things got worse for Green Bay in the second quarter as Favre completed a 12-yard touchdown pass to tight end Visanthe Shiancoe, followed by kicker Ryan Longwell (another former Packer) nailing a 41-yard field goal.  The Packers would end the first half with 48 yards of offense, the lowest in over 10 years for a Packers team. Minnesota would add onto their lead in the third quarter as Favre found wide receiver Percy Harvin on a 51-yard touchdown pass as 3 Packer defenders collided and hit the ground. Yet Green Bay began to rally as Crosby booted a 26-yard field goal, followed up by quarterback Aaron Rodgers completing a 16-yard and a 5-yard touchdown pass to tight end Spencer Havner.  The Vikings would answer in the fourth quarter as Favre hooked up with tight end/fullback Jeff Dugan on a 2-yard touchdown pass.  The Packers tried to rally as Rodgers connected with wide receiver Greg Jennings on a 10-yard touchdown pass (with a failed 2-point conversion), but Minnesota would put the game out of reach as Favre hooked up with wide receiver Bernard Berrian on a 16-yard touchdown pass.  Favre threw 4 TD's with 0 INT, and had a passer rating of 128 (http://www.nfl.com/players/gamelogs?id=FAV540222). With the loss, Green Bay fell to 4-3 and were swept by the Vikings for the first time since 2005. Question: Who threw the longest touchdown pass?
d = {'Favre': max(12, 51), 'Percy Harvin': 51, 'Aaron Rodgers': max(16, 5), 'Jeff Dugan':2, 'Jeff Dugan': 2, 'Bernard Berrian': 16}

order = sorted(d.values())

rank = order[-1]

for i in d:

  if d[i] == rank:

    print(i)
    break