Carrie and Jamie made cookies for the Bragg bake sale. Carrie baked 77 cookies. Jamie baked twice as many as Carrie. How many cookies did they bake altogether?