Solved 394 and 837