Sample6F main program