  import sys
from PyQt5.QtWidgets import QApplication
from PyQt5.QtCore import QObject
from PyQt5.QtGui import QImage
from PyQt5.QtWidgets import QMainWindow
from PyQt5.QtWidgets import QGraphicsLayoutWidget
from PyQt5.QtWidgets import QGraphicsView
from PyQt5.QtWidgets import QGraphicsScene
from PyQt5.QtWidgets import QGraphicsItem
from PyQt5.QtWidgets import QGraphicsItemGroup
from PyQt5.QtWidgets import QGraphicsRectItem
from PyQt5.QtWidgets import QGraphicsSimpleTextItem
from PyQt5.QtWidgets import QGraphicsTextItem
from PyQt5.QtWidgets import QGraphicsWidget
from PyQt5.QtWidgets import QGraphicsLayout
from PyQt5.QtWidgets import QGraphicsLayoutItem
from PyQt5.QtWidgets import QGraphicsProxyWidget
from PyQt5.QtWidgets import QGraphicsProxyLayout
from PyQt5.QtWidgets import QGraphicsLayoutItem
from PyQt5.QtWidgets import QGraphicsLayout
from PyQt5.QtWidgets import QGraphicsScene
from PyQt5.QtWidgets import QGraphicsView
from PyQt5.QtWidgets import QGraphicsWidget
from PyQt5.QtWidgets import QGraphicsItem
from PyQt5.QtWidgets import QGraphicsItemGroup
from PyQt5.QtWidgets import QGraphicsRectItem
from PyQt5.QtWidgets import QGraphicsSimpleTextItem
from PyQt5.QtWidgets import QGraphicsTextItem
from PyQt5.QtWidgets import QGraphicsProxyWidget
from PyQt5.QtWidgets import QGraphicsProxyLayout
from PyQt5.QtWidgets import QGraphicsLayoutItem
from PyQt5.QtWidgets import QGraphicsLayout
from PyQt5.QtWidgets import QGraphicsScene
from PyQt5.QtWidgets import QGraphicsView
from PyQt5.QtWidgets import QGraphicsWidget
from PyQt5.QtWidgets import QGraphicsItem
from PyQt5.QtWidgets import QGraphicsItemGroup
from PyQt5.QtWidgets import QGraphicsRectItem
from PyQt5.QtWidgets import QGraphicsSimpleTextItem
from PyQt5.QtWidgets import QGraphicsTextItem
from PyQt5.QtWidgets import QGraphicsProxyWidget
from PyQt5.QtWidgets import QGraphicsProxyLayout
from PyQt5.QtWidgets import QGraphicsLayoutItem
from PyQt5.QtWidgets import QGraphicsLayout
from PyQt5.QtWidgets import QGraphicsScene
from PyQt5.QtWidgets import QGraphicsView
from PyQt5.QtWidgets import QGraphicsWidget
from PyQt5.QtWidgets import QGraphicsItem
from PyQt5.QtWidgets import QGraphicsItemGroup
from PyQt5.QtWidgets import QGraphicsRectItem
from PyQt5.QtWidgets import QGraphicsSimpleTextItem
from PyQt5.QtWidgets import QGraphicsTextItem
from PyQt5.QtWidgets import QGraphicsProxyWidget
from PyQt5.QtWidgets import QGraphicsProxyLayout
from PyQt5.QtWidgets import QGraphicsLayoutItem
from PyQt5.QtWidgets import QGraphicsLayout
from PyQt5.QtWidgets import QGraphicsScene
from PyQt5.QtWidgets import QGraphicsView
from PyQt5.QtWidgets import QGraphicsWidget
from PyQt5.QtWidgets import QGraphicsItem
from PyQt5.QtWidgets import QGraphicsItemGroup
from PyQt5.QtWidgets import QGraphicsRectItem
from PyQt5.QtWidgets import QGraphicsSimpleTextItem
from PyQt5.QtWidgets import QGraphicsTextItem
from PyQt5.QtWidgets import QGraphicsProxyWidget
from PyQt5.QtWidgets import QGraphicsProxyLayout
from PyQt5.QtWidgets import QGraphicsLayoutItem
from PyQt5.QtWidgets import QGraphicsLayout
from PyQt5.QtWidgets import QGraphicsScene
from PyQt5.QtWidgets import QGraphicsView
from PyQt5.QtWidgets import QGraphicsWidget
from PyQt5.QtWidgets import QGraphicsItem
from PyQt5.QtWidgets import QGraphicsItemGroup
from PyQt5.QtWidgets import QGraphicsRectItem
from PyQt5.QtWidgets import QGraphicsSimpleTextItem
from PyQt5.QtWidgets import QGraphicsTextItem
from PyQt5.QtWidgets import QGraphicsProxyWidget
from PyQt5.QtWidgets import QGraphicsProxyLayout
from PyQt5.QtWidgets import QGraphicsLayoutItem
from PyQt5.QtWidgets import QGraphicsLayout
from PyQt5.QtWidgets import QGraphicsScene
from PyQt5.QtWidgets import QGraphicsView
from PyQt5.QtWidgets import QGraphicsWidget
from PyQt5.QtWidgets import QGraphicsItem
from PyQt5.QtWidgets import QGraphicsItemGroup
from PyQt5.QtWidgets import QGraphicsRectItem
from PyQt5.QtWidgets import QGraphicsSimpleTextItem
from PyQt5.QtWidgets import QGraphicsTextItem
from PyQt5.QtWidgets import QGraphicsProxyWidget
from PyQt5.QtWidgets import QGraphicsProxyLayout
from PyQt5.QtWidgets import QGraphicsLayoutItem
from PyQt5.QtWidgets import QGraphicsLayout
from PyQt5.QtWidgets import QGraphicsScene
from PyQt5.QtWidgets import QGraphicsView
from PyQt5.QtWidgets import QGraphicsWidget
from PyQt5.QtWidgets import QGraphicsItem
from PyQt5.QtWidgets import QGraphicsItemGroup
from PyQt5.QtWidgets import QGraphicsRectItem
from PyQt5.QtWidgets import QGraphicsSimpleTextItem
from PyQt5.QtWidgets import QGraphicsTextItem
from PyQt5.QtWidgets import QGraphicsProxyWidget
from PyQt5.QtWidgets import QGraphicsProxyLayout
from PyQt5.QtWidgets import QGraphicsLayoutItem
from PyQt5.QtWidgets import QGraphicsLayout
from PyQt5.QtWidgets import QGraphicsScene
from PyQt5.QtWidgets import QGraphicsView
from PyQt5.QtWidgets import QGraphicsWidget
from PyQt5.QtWidgets import QGraphicsItem
from PyQt5.QtWidgets import QGraphicsItemGroup
from PyQt5.QtWidgets import QGraphicsRectItem
from PyQt5.QtWidgets import QGraphicsSimpleTextItem
from PyQt5.QtWidgets import QGraphicsTextItem
from PyQt5.QtWidgets import QGraphicsProxyWidget
from PyQt5.QtWidgets import QGraphicsProxyLayout
from PyQt5.QtWidgets import QGraphicsLayoutItem
from PyQt5.QtWidgets import QGraphicsLayout
from PyQt5.QtWidgets import QGraphicsScene
from PyQt5.QtWidgets import QGraphicsView
from PyQt5.QtWidgets import QGraphicsWidget
from PyQt5.QtWidgets import QGraphicsItem
from PyQt5.QtWidgets import QGraphicsItemGroup
from PyQt5.QtWidgets import QGraphicsRectItem
from PyQt5.QtWidgets import QGraphicsSimpleTextItem
from PyQt5.QtWidgets import QGraphicsTextItem
from PyQt5.QtWidgets import QGraphicsProxyWidget
from PyQt5.QtWidgets import QGraphicsProxyLayout
from PyQt5.QtWidgets import QGraphicsLayoutItem
from PyQt5.QtWidgets import QGraphicsLayout
from PyQt5.QtWidgets import QGraphicsScene
from PyQt5.QtWidgets import QGraphicsView
from PyQt5.QtWidgets import QGraphicsWidget
from PyQt5.QtWidgets import QGraphicsItem
from PyQt5.QtWidgets import QGraphicsItemGroup
from PyQt5.QtWidgets import QGraphicsRectItem
from PyQt5.QtWidgets import QGraphicsSimpleTextItem
from PyQt5.QtWidgets import QGraphicsTextItem
from PyQt5.QtWidgets import QGraphicsProxyWidget
from PyQt5.QtWidgets import QGraphicsProxyLayout
from PyQt5.QtWidgets import QGraphicsLayoutItem
from PyQt5.QtWidgets import QGraphicsLayout
from PyQt5.QtWidgets import QGraphicsScene
from PyQt5.QtWidgets import QGraphicsView
from PyQt5.QtWidgets import QGraphicsWidget
from PyQt5.QtWidgets import QGraphicsItem
from PyQt5.QtWidgets import QGraphicsItemGroup
from PyQt5.QtWidgets import QGraphicsRectItem
from PyQt5.QtWidgets import QGraphicsSimpleTextItem
from PyQt5.QtWidgets import QGraphicsTextItem
from PyQt5.QtWidgets import QGraphicsProxyWidget
from PyQt5.QtWidgets import QGraphicsProxyLayout
from PyQt5.QtWidgets import QGraphicsLayoutItem
from