You have to build a file with name application/core/Blog.php and declare your class with

Class Blog extends CI_Input {
      // Write your code here
}

BY Best Interview Question ON 13 Jan 2019