In a sock factory, a worker started with 26 pairs of socks. Unfortunately, 50 pairs got torn and had to be discarded. The worker was able to produce 36 more pairs to replace them. Each pair of socks is sold for $37. After earning from the sock sales, the worker found a $13 bill on the floor. How much money does the worker have in total?