Pamela initially filled a measuring cup with 2/3 of a cup of syrup from a large jug. Then she poured 2/5 of a cup back into the jug. How much syrup remains in the measuring cup?