1. Find the greatest 4-digit number which is a common multiple of 12,40 and 45.
2. A box contains an assortment of 3 types of chocolate bars.
It has 18 bars with almonds, 24 bars with hazelnuts, and 30 bars with peanuts.
The chocolate bars are shared among some students.
Each student has only 1 type of chocolate bar and every student has the same number of chocolate bars.
Suppose each student has the greatest number of chocolate bars,
(a) how many chocolate bars does each student have? 
(b) how many students will have chocolate bars with peanuts? 
Thanks in advance.