Drex was organising a class party for 40 friends. Some ordered chicken burgers, while others ordered beef burgers. Each chicken burger cost $1. Each beef burger cost $3. Drex collected a total of $62 for the burgers but he forgot how many of each type of burger was ordered.Find out how many chicken and beef burgers Drex needs.