См. рисунок. Заполнить таблицу. Заранее спасибо
http://www.liveexpert.ru/public/scripts/elfinder/files/u403516/IMG_20130426_222014.jpg