How many ways can the number 10 be written as sum of three p