Ram can finish the work alone in 10 days, while Shyam alone can do so in 20 days. They start a work on Sunday. Ram works on Sunday, Monday, Wednesday and Friday. Shyam works on Sunday, Tuesday, Thursday and Saturday. On which day of the week the work gets finished?