A baker baked 836 chocolate chip cookies and 692 oatmeal cookies. He packed the cookies into 30 boxes. Each box contained 42 cookies. How many leftover cookies were there?