Mary has postcards and stamps. The ratio of the number of postcards to the number of stamps she has is 2:9. If Mary has 36 stamps, how many postcards does Mary have?