Lectures on amenability