On one day, the grocery store sold 13 bags of raisins, restocked the shelf with 20 bags, sold 19 more bags, restocked 31 bags, and sold 24 bags. There are 11 bags on the shelf now. How many bags of raisins were on the shelf at the start of the day?