Kari spent 1 2/3 hours painting a fence. Then he spent 4/5 of an hour walking his dog. How much longer did he spend painting than walking?