The pension costs of the aforementioned defined benefit plans were recognized in profit or loss by the following categories:
| Years Ended December 31 | ||||||||||||
| 2015 | 2016 | 2017 | ||||||||||
| NT$ | NT$ | NT$ | ||||||||||
| (In Millions) | (In Millions) | (In Millions) | ||||||||||
|
Cost of revenue |
$ | 189.5 | $ | 177.0 | $ | 175.3 | ||||||
|
Research and development expenses |
81.3 | 73.4 | 75.3 | |||||||||
|
General and administrative expenses |
3.1 | 17.4 | 16.7 | |||||||||
|
Marketing expenses |
5.0 | 4.4 | 4.2 | |||||||||
|
|
|
|
|
|
|
|||||||
| $ | 278.9 | $ | 272.2 | $ | 271.5 | |||||||
|
|
|
|
|
|
|
|||||||