PIWIK deleting historical data for a website

I am working with Piwik. (Around 200,000 visits per day)
Piwik version: 3.2.0
MySQL version: 5.5.57
PHP version: 5.6.30-0+deb8u1

I need to delete stored data for few websites (e.g. ID=1,2,3) before a fixed date (2017-01-01).
Would you please give me a solution or necessary SQL commands?

Thank you in advance for your kind attention and supports.